diff options
author | root <root@rshg047.dnsready.net> | 2011-06-06 22:47:17 +0000 |
---|---|---|
committer | root <root@rshg047.dnsready.net> | 2011-06-06 22:47:17 +0000 |
commit | 93a9cde1226d0c82849bc71ff4d481d3d2698dc1 (patch) | |
tree | 1f60e792a546a9484aec590ce687df8f0ec6c697 /extra/zziplib/PKGBUILD | |
parent | c81b3455112a3b09a8341fc8c45a91bd92c15a12 (diff) |
Mon Jun 6 22:47:16 UTC 2011
Diffstat (limited to 'extra/zziplib/PKGBUILD')
-rw-r--r-- | extra/zziplib/PKGBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/extra/zziplib/PKGBUILD b/extra/zziplib/PKGBUILD new file mode 100644 index 000000000..4783fc5ee --- /dev/null +++ b/extra/zziplib/PKGBUILD @@ -0,0 +1,37 @@ +# $Id: PKGBUILD 126501 2011-06-05 18:50:29Z remy $ +# Maintainer: Rémy Oudompheng <remy@archlinux.org> +# Contributor: Daniel J Griffiths <ghost1227@archlinux.us> +# Contributor: Roman Kyrylych <Roman.Kyrylych@gmail.com> + +pkgname=zziplib +pkgver=0.13.60 +pkgrel=1 +pkgdesc="A lightweight library that offers the ability to easily extract data from files archived in a single zip file" +arch=('i686' 'x86_64') +url="http://zziplib.sourceforge.net" +license=('LGPL' 'MPL') +depends=('zlib') +makedepends=('python2') +options=('!libtool') +source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2 + zziplib-0.13.60-ldflags.patch) +md5sums=('54a6aa53262483a4d54f7c59f0a7258b' + 'e585052f884525a338ca341b5d2957dc') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + export PYTHON=/usr/bin/python2 + patch -p1 -i ../zziplib-0.13.60-ldflags.patch + ./configure --prefix=/usr + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + +#fix permission + chmod -s "${pkgdir}/usr/share/man/man3" + chmod 644 "${pkgdir}"/usr/share/man/man3/* + chown -R root:root "${pkgdir}/usr/share/man/man3" +} |