summaryrefslogtreecommitdiff
path: root/community/zziplib
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/zziplib
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/zziplib')
-rw-r--r--community/zziplib/PKGBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/community/zziplib/PKGBUILD b/community/zziplib/PKGBUILD
new file mode 100644
index 000000000..b54fb1dfd
--- /dev/null
+++ b/community/zziplib/PKGBUILD
@@ -0,0 +1,35 @@
+# $Id: PKGBUILD 38805 2011-02-01 07:57:10Z andrea $
+# Maintainer:
+# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
+# Contributor: Roman Kyrylych <Roman.Kyrylych@gmail.com>
+
+pkgname=zziplib
+pkgver=0.13.58
+pkgrel=2
+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')
+source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
+md5sums=('a0f743a5a42ca245b2003ecaea958487')
+options=('!libtool')
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+
+ export PYTHON=/usr/bin/python2
+ ./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
+}