summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorOlivier Le Moal2018-09-19 00:08:51 +0200
committerOlivier Le Moal2018-09-19 00:08:51 +0200
commitf90dcef31d238a70f71ca131cdbf077ca8e1aae7 (patch)
treec5e5079aa64e902528df4c2734e8fcfbc988dc6c /PKGBUILD
downloadaur-f90dcef31d238a70f71ca131cdbf077ca8e1aae7.tar.gz
first commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..9c9da0c738e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Olivier Le Moal <mail@olivierlemoal.fr>
+pkgbase=python-pycrate
+pkgname=('python2-pycrate' 'python-pycrate')
+pkgver=0.3
+pkgrel=1
+pkgdesc="Python library for manipulating various digital formats in an easy way."
+arch=(any)
+url="https://github.com/P1sec/pycrate"
+license=('LGPL2.1')
+conflicts=("python-pycrate-git" "python2-pycrate-git")
+source=('https://github.com/P1sec/pycrate/archive/0.3.tar.gz')
+md5sums=('e194f596e7d16bb1c675551a56dcc38d')
+
+package_python-pycrate() {
+ depends=('python')
+ conflicts=("python2-pycrate")
+
+ cd pycrate-${pkgver}
+ python setup.py install --root="$pkgdir" --optimize=1
+}
+
+package_python2-pycrate() {
+ depends=('python2')
+ conflicts=("python-pycrate")
+
+ cd pycrate-${pkgver}
+ python2 setup.py install --root="$pkgdir" --optimize=1
+}