diff options
author | Olivier Medoc | 2016-03-17 13:44:07 +0000 |
---|---|---|
committer | Olivier Medoc | 2016-03-17 13:44:07 +0000 |
commit | 26f3de1040330e959134c1eeea5cb809afd26467 (patch) | |
tree | 4a4970a62d896e3e0f916145f6ca691e8e631644 | |
download | aur-26f3de1040330e959134c1eeea5cb809afd26467.tar.gz |
Initial Commit
-rw-r--r-- | .SRCINFO | 16 | ||||
-rwxr-xr-x | PKGBUILD | 33 |
2 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..a25c0681fa3e --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = python2-libewf + pkgdesc = Libewf is a library to access the Expert Witness Compression Format (EWF) + pkgver = 20160124 + pkgrel = 1 + url = https://github.com/libyal/libewf/ + arch = any + license = LGPLv3+ + makedepends = python2 + makedepends = gcc + depends = python2 + provides = libewf + source = https://pypi.python.org/packages/source/l/libewf-python/libewf-python-20160124.tar.gz#md5=c134579eccc45c3cd25ee5b26c2f3035 + md5sums = c134579eccc45c3cd25ee5b26c2f3035 + +pkgname = python2-libewf + diff --git a/PKGBUILD b/PKGBUILD new file mode 100755 index 000000000000..eb55a4087f1f --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,33 @@ +pkgname=python2-libewf +_pkgcode=libewf +pkgver=20160124 +pkgrel=1 +pkgdesc="Libewf is a library to access the Expert Witness Compression Format (EWF)" +url="https://github.com/libyal/libewf/" +arch=('any') +license=('LGPLv3+') + +depends=('python2') +makedepends=('python2' 'gcc') +provides=('libewf') + +md5sum=c134579eccc45c3cd25ee5b26c2f3035 +source=(https://pypi.python.org/packages/source/l/$_pkgcode-python/$_pkgcode-python-$pkgver.tar.gz#md5=$md5sum) +md5sums=($md5sum) + +build() { + export PYTHON=python2 + + cd $srcdir/${_pkgcode}-${pkgver} + + ./configure --enable-python2 --prefix=/usr + make + +} + +package() { + cd $srcdir/${_pkgcode}-${pkgver} + make DESTDIR="$pkgdir/" install + + #python2 setup.py install --root="${pkgdir}" +} |