Date: Thursday, April 6, 2023 @ 13:15:10
  Author: felixonmars
Revision: 1438817

archrelease: copy trunk to community-staging-any

Added:
  python-kaitaistruct/repos/community-staging-any/
  python-kaitaistruct/repos/community-staging-any/PKGBUILD
    (from rev 1438815, python-kaitaistruct/trunk/PKGBUILD)

----------+
 PKGBUILD |   24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

Copied: python-kaitaistruct/repos/community-staging-any/PKGBUILD (from rev 
1438815, python-kaitaistruct/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2023-04-06 13:15:10 UTC (rev 1438817)
@@ -0,0 +1,24 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=python-kaitaistruct
+pkgver=0.10
+pkgrel=2
+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/
+}

Reply via email to