diff options
author | Olivier Le Moal | 2018-09-19 00:08:51 +0200 |
---|---|---|
committer | Olivier Le Moal | 2018-09-19 00:08:51 +0200 |
commit | f90dcef31d238a70f71ca131cdbf077ca8e1aae7 (patch) | |
tree | c5e5079aa64e902528df4c2734e8fcfbc988dc6c | |
download | aur-f90dcef31d238a70f71ca131cdbf077ca8e1aae7.tar.gz |
first commit
-rw-r--r-- | .SRCINFO | 20 | ||||
-rw-r--r-- | PKGBUILD | 28 |
2 files changed, 48 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..e658851cb0ab --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,20 @@ +pkgbase = python-pycrate + pkgdesc = Python library for manipulating various digital formats in an easy way. + pkgver = 0.3 + pkgrel = 1 + url = https://github.com/P1sec/pycrate + arch = any + license = LGPL2.1 + conflicts = python-pycrate-git + conflicts = python2-pycrate-git + source = https://github.com/P1sec/pycrate/archive/0.3.tar.gz + md5sums = e194f596e7d16bb1c675551a56dcc38d + +pkgname = python2-pycrate + depends = python2 + conflicts = python-pycrate + +pkgname = python-pycrate + depends = python + conflicts = python2-pycrate + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..9c9da0c738e3 --- /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 +} |