Date: Saturday, August 13, 2022 @ 05:28:39 Author: felixonmars Revision: 1265845
archrelease: copy trunk to community-any Added: python-kaitaistruct/repos/community-any/PKGBUILD (from rev 1265844, python-kaitaistruct/trunk/PKGBUILD) Deleted: python-kaitaistruct/repos/community-any/PKGBUILD ----------+ PKGBUILD | 47 ++++++++++++++++++++++++----------------------- 1 file changed, 24 insertions(+), 23 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-08-13 05:28:24 UTC (rev 1265844) +++ PKGBUILD 2022-08-13 05:28:39 UTC (rev 1265845) @@ -1,23 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=python-kaitaistruct -pkgver=0.9 -pkgrel=5 -pkgdesc="Kaitai Struct declarative parser generator for binary data: runtime library for Python" -arch=('any') -license=('MIT') -url="https://kaitai.io" -depends=('python') -makedepends=('python-setuptools') -source=("$pkgname-$pkgver.tar.gz::https://github.com/kaitai-io/kaitai_struct_python_runtime/archive/$pkgver.tar.gz") -sha512sums=('e99d4aa0df046b346f73c8ee7b3d737bc62bea2891b5948be3d8814b575d44e59146e318b6dd9966d937e327103f9348b26048885dbdf5a44080601795d49b05') - -build() { - cd kaitai_struct_python_runtime-$pkgver - python setup.py build -} - -package() { - cd kaitai_struct_python_runtime-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 -} Copied: python-kaitaistruct/repos/community-any/PKGBUILD (from rev 1265844, python-kaitaistruct/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-08-13 05:28:39 UTC (rev 1265845) @@ -0,0 +1,24 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=python-kaitaistruct +pkgver=0.10 +pkgrel=1 +pkgdesc="Kaitai Struct declarative parser generator for binary data: runtime library for Python" +arch=('any') +license=('MIT') +url="https://kaitai.io" +depends=('python') +makedepends=('python-setuptools' 'python-wheel') +source=("$pkgname-$pkgver.tar.gz::https://github.com/kaitai-io/kaitai_struct_python_runtime/archive/$pkgver.tar.gz") +sha512sums=('ce22445afe7f6713cccc1ffb0714892dcff171d84b89a0cd49441dd36a464f6c764aa89d75f556d06eee82ab4432af27a0ef4313e47272a5f55fee2dba1252f0') + +build() { + cd kaitai_struct_python_runtime-$pkgver + python setup.py build +} + +package() { + cd kaitai_struct_python_runtime-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 + install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/ +}