diff options
author | Olivier Medoc | 2016-05-24 09:21:21 +0000 |
---|---|---|
committer | Olivier Medoc | 2016-05-24 09:21:21 +0000 |
commit | f059238ba14d4e7eb8ec1df8ddc04d5d9b318ea3 (patch) | |
tree | 4115d857fd15633957f723a43307ff025d7352ee /PKGBUILD | |
download | aur-f059238ba14d4e7eb8ec1df8ddc04d5d9b318ea3.tar.gz |
first commit
Diffstat (limited to 'PKGBUILD')
-rwxr-xr-x | PKGBUILD | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100755 index 000000000000..4c9c3af818a0 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,45 @@ +pkgname=('libvhdi') +_realname=libvhdi +pkgver=20160424 +pkgrel=1 +pkgdesc="Library and tools to access the Virtual Hard Disk (VHD) image format" +url="https://github.com/libyal/libvhdi/" +arch=('any') +license=('LGPLv3+') + +provides=('libvhdi' 'python2-libvhdi' 'python3-libvhdi') +depends=('python2' 'python' 'fuse') +makedepends=('python2' 'python' 'gcc' 'git' 'automake' 'autoconf' 'gettext' 'libtool' 'pkg-config' 'fuse') +source=(https://github.com/libyal/${_realname}/archive/${pkgver}.zip) + +prepare() { + cd $srcdir/${_realname}-${pkgver} + + ./synclibs.sh + ./autogen.sh +} + +build() { + cd $srcdir/${_realname}-${pkgver} + ./configure --prefix=/usr --enable-python2 --enable-python3 + make +} + +#Check will break ./configure options +#check() { +# cd $srcdir/${_realname}-${pkgver} +# ./runtests.sh +#} + +package_libvhdi() { + cd $srcdir/${_realname}-${pkgver} + make DESTDIR=${pkgdir} install +} + +#setup.py will break ./configure options +#package_python2-libvhdi() { +# cd $srcdir/${_realname}-${pkgver} +# python2 setup.py install --root="${pkgdir}" +#} + +md5sums=('1e70dc38ab301c13f3dcef8913efd81f') |