[arch-commits] Commit in python-kaitaistruct/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Fri Oct 25 15:20:04 UTC 2019
Date: Friday, October 25, 2019 @ 15:20:04
Author: felixonmars
Revision: 518983
archrelease: copy trunk to community-staging-any
Added:
python-kaitaistruct/repos/community-staging-any/
python-kaitaistruct/repos/community-staging-any/PKGBUILD
(from rev 518981, python-kaitaistruct/trunk/PKGBUILD)
----------+
PKGBUILD | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
Copied: python-kaitaistruct/repos/community-staging-any/PKGBUILD (from rev 518981, python-kaitaistruct/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-10-25 15:20:04 UTC (rev 518983)
@@ -0,0 +1,23 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-kaitaistruct
+pkgver=0.8
+pkgrel=4
+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=('a676a048dd96366dbc89a981dc51c1f6aeb76b9e4fc2d3ebfea527c27dc201803e4f3d8fceff96686e3964b1f3040e4ee9dd2f857a422da1998d98dc325bdbc7')
+
+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
+}
More information about the arch-commits
mailing list