diff options
author | Olivier Medoc | 2016-03-17 10:55:31 +0000 |
---|---|---|
committer | Olivier Medoc | 2016-03-17 10:55:31 +0000 |
commit | 4cd91a0162974fef6af28da8b4ed0e657ee934b5 (patch) | |
tree | b0d8a076c3e1c1cdf58162279e10963787b31e78 | |
download | aur-python2-libvmdk.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 15 | ||||
-rwxr-xr-x | PKGBUILD | 26 |
2 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..792c33269a77 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = python2-libvmdk + pkgdesc = Library and tools to access the VMware Virtual Disk (VMDK) format + pkgver = 20160119 + pkgrel = 1 + url = https://github.com/libyal/libvmdk/ + arch = any + license = LGPLv3+ + makedepends = python2 + makedepends = gcc + depends = python2 + source = https://pypi.python.org/packages/source/l/libvmdk-python/libvmdk-python-20160119.tar.gz#md5=f452aac879dd2cde85da58ec949b2844 + md5sums = f452aac879dd2cde85da58ec949b2844 + +pkgname = python2-libvmdk + diff --git a/PKGBUILD b/PKGBUILD new file mode 100755 index 000000000000..74fa6a81586b --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +pkgname=python2-libvmdk +_pkgcode=libvmdk +pkgver=20160119 +pkgrel=1 +pkgdesc="Library and tools to access the VMware Virtual Disk (VMDK) format" +url="https://github.com/libyal/libvmdk/" +arch=('any') +license=('LGPLv3+') + +depends=('python2') +makedepends=('python2' 'gcc') + +md5sum=f452aac879dd2cde85da58ec949b2844 +source=(https://pypi.python.org/packages/source/l/$_pkgcode-python/$_pkgcode-python-$pkgver.tar.gz#md5=$md5sum) +md5sums=($md5sum) + +build() { + cd $srcdir/${_pkgcode}-${pkgver} + + python2 setup.py build +} + +package() { + cd $srcdir/${_pkgcode}-${pkgver} + python2 setup.py install --root="${pkgdir}" +} |