summaryrefslogtreecommitdiffstats
path: root/abs/extra/zziplib
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2018-02-16 18:52:29 (GMT)
committerBritney Fransen <brfransen@gmail.com>2018-02-16 18:52:29 (GMT)
commit4a85d5a92de1fd6d8a52686e58816c69db8fc584 (patch)
tree5f39465cd8c80c001ae90a3ed743fd76b62bda71 /abs/extra/zziplib
parent0d08ec1d010f55f8c20f1c697b0ee29c01b94a5d (diff)
downloadlinhes_pkgbuild-4a85d5a92de1fd6d8a52686e58816c69db8fc584.zip
linhes_pkgbuild-4a85d5a92de1fd6d8a52686e58816c69db8fc584.tar.gz
linhes_pkgbuild-4a85d5a92de1fd6d8a52686e58816c69db8fc584.tar.bz2
zziplib: initial inclusion
Diffstat (limited to 'abs/extra/zziplib')
-rw-r--r--abs/extra/zziplib/PKGBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/abs/extra/zziplib/PKGBUILD b/abs/extra/zziplib/PKGBUILD
new file mode 100644
index 0000000..d18337f
--- /dev/null
+++ b/abs/extra/zziplib/PKGBUILD
@@ -0,0 +1,36 @@
+# $Id$
+# 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.68
+pkgrel=1
+pkgdesc="A lightweight library that offers the ability to easily extract data from files archived in a single zip file"
+arch=('x86_64')
+url="http://zziplib.sourceforge.net"
+license=('LGPL' 'MPL')
+depends=('zlib')
+makedepends=('python2' 'xmlto' 'zip')
+source=($pkgname-$pkgver.tar.gz::"https://github.com/gdraheim/zziplib/archive/v$pkgver.tar.gz")
+sha256sums=('9460919b46592a225217cff067b1c0eb86002b32c54b4898f9c21401aaa11032')
+sha512sums=('e8a9976242acc04064ec239b9b929228370a946e5bd37092adcc1bda14605710a3850d39795d1937b609d1ab9a9a1998152f8c88b2dccc387ac6ec774d9cfce9')
+
+build() {
+ cd ${pkgname}-${pkgver}
+ export PYTHON=/usr/bin/python2
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ make DESTDIR="${pkgdir}" install
+
+# fix permissions
+ chmod -s "${pkgdir}/usr/share/man/man3"
+# chmod 644 "${pkgdir}"/usr/share/man/man3/*
+ chown -R root:root "${pkgdir}/usr/share/man/man3"
+}
+
+# vim: set ts=2 sw=2 et: