Date: Tuesday, August 23, 2022 @ 02:48:58 Author: grawlinson Revision: 1274901
archrelease: copy trunk to community-any Added: jc/repos/community-any/PKGBUILD (from rev 1274900, jc/trunk/PKGBUILD) Deleted: jc/repos/community-any/PKGBUILD ----------+ PKGBUILD | 108 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 54 insertions(+), 54 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-08-23 02:48:21 UTC (rev 1274900) +++ PKGBUILD 2022-08-23 02:48:58 UTC (rev 1274901) @@ -1,54 +0,0 @@ -# Maintainer: George Rawlinson <grawlin...@archlinux.org> -# Contributor: Jameson Pugh <imntr...@gmail.com> - -pkgname=jc -pkgver=1.20.4 -pkgrel=1 -pkgdesc='Converts the output of popular command-line tools and file-types to JSON' -arch=('any') -url='https://github.com/kellyjonbrazil/jc' -license=('MIT') -depends=( - 'python' - 'python-pygments' - 'python-ruamel-yaml' - 'python-xmltodict' -) -makedepends=('git' 'python-setuptools') -_commit='e2f1b16cb9e920968c093bd1f371b191aa7107bf' -source=("$pkgname::git+$url.git#commit=$_commit") -b2sums=('SKIP') - -pkgver() { - cd "$pkgname" - - git describe --tags | sed 's/^v//' -} - -build(){ - cd "$pkgname" - - python setup.py build -} - -check() { - cd "$pkgname" - - python -m unittest -v -} - -package() { - cd "$pkgname" - - python setup.py install --root="$pkgdir" --optimize=1 --skip-build - - # documentation - install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" README.md EXAMPLES.md - cp -vr docs "$pkgdir/usr/share/doc/$pkgname" - - # man page - install -vDm644 -t "$pkgdir/usr/share/man/man1" man/jc.1 - - # license - install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE.md -} Copied: jc/repos/community-any/PKGBUILD (from rev 1274900, jc/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-08-23 02:48:58 UTC (rev 1274901) @@ -0,0 +1,54 @@ +# Maintainer: George Rawlinson <grawlin...@archlinux.org> +# Contributor: Jameson Pugh <imntr...@gmail.com> + +pkgname=jc +pkgver=1.21.0 +pkgrel=1 +pkgdesc='Converts the output of popular command-line tools and file-types to JSON' +arch=('any') +url='https://github.com/kellyjonbrazil/jc' +license=('MIT') +depends=( + 'python' + 'python-pygments' + 'python-ruamel-yaml' + 'python-xmltodict' +) +makedepends=('git' 'python-setuptools') +_commit='37835c197268d98736e5f253a763cd4fe4e95274' +source=("$pkgname::git+$url.git#commit=$_commit") +b2sums=('SKIP') + +pkgver() { + cd "$pkgname" + + git describe --tags | sed 's/^v//' +} + +build(){ + cd "$pkgname" + + python setup.py build +} + +check() { + cd "$pkgname" + + python -m unittest -v +} + +package() { + cd "$pkgname" + + python setup.py install --root="$pkgdir" --optimize=1 --skip-build + + # documentation + install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" README.md EXAMPLES.md + cp -vr docs "$pkgdir/usr/share/doc/$pkgname" + + # man page + install -vDm644 -t "$pkgdir/usr/share/man/man1" man/jc.1 + + # license + install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE.md +}