Date: Wednesday, August 7, 2019 @ 06:23:50 Author: felixonmars Revision: 498125
archrelease: copy trunk to community-any Added: python-jsbeautifier/repos/community-any/PKGBUILD (from rev 498124, python-jsbeautifier/trunk/PKGBUILD) Deleted: python-jsbeautifier/repos/community-any/PKGBUILD ----------+ PKGBUILD | 60 ++++++++++++++++++++++++++++++------------------------------ 1 file changed, 30 insertions(+), 30 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-08-07 06:23:23 UTC (rev 498124) +++ PKGBUILD 2019-08-07 06:23:50 UTC (rev 498125) @@ -1,30 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=python-jsbeautifier -pkgver=1.10.1 -pkgrel=1 -pkgdesc='JavaScript unobfuscator and beautifier' -arch=('any') -license=('MIT') -url='https://github.com/beautify-web/js-beautify' -depends=('python-six' 'python-editorconfig') -makedepends=('python-setuptools') -checkdepends=('python-pytest') -source=("$pkgname-$pkgver.tar.gz::https://github.com/beautify-web/js-beautify/archive/v$pkgver.tar.gz") -sha512sums=('a09e3c59cbb33ca95ef79d3e8341a7de1941f4da8f05c6fc06df70627a0b77e8ad7939b8ee659e1876212db34940a82b9b3caf6f91fea373e15562b5838696ec') - -build() { - cd js-beautify-$pkgver/python - python setup.py build -} - -check() { - cd js-beautify-$pkgver/python - python setup.py test -} - -package() { - cd js-beautify-$pkgver/python - python setup.py install --root="$pkgdir" --optimize=1 - install -D -m644 ../LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} Copied: python-jsbeautifier/repos/community-any/PKGBUILD (from rev 498124, python-jsbeautifier/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-08-07 06:23:50 UTC (rev 498125) @@ -0,0 +1,30 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=python-jsbeautifier +pkgver=1.10.2 +pkgrel=1 +pkgdesc='JavaScript unobfuscator and beautifier' +arch=('any') +license=('MIT') +url='https://github.com/beautify-web/js-beautify' +depends=('python-six' 'python-editorconfig') +makedepends=('python-setuptools') +checkdepends=('python-pytest') +source=("$pkgname-$pkgver.tar.gz::https://github.com/beautify-web/js-beautify/archive/v$pkgver.tar.gz") +sha512sums=('6a65bcf0a0c2277c40d3eed6be47152aa4b27cd7613100b411522a18381fe15c2cf92ca64d5dcb1b65903e2ee47ac6be9a2b9c1b8d5d4caa7250e7af8454a49c') + +build() { + cd js-beautify-$pkgver/python + python setup.py build +} + +check() { + cd js-beautify-$pkgver/python + python setup.py test +} + +package() { + cd js-beautify-$pkgver/python + python setup.py install --root="$pkgdir" --optimize=1 + install -D -m644 ../LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +}