summaryrefslogtreecommitdiff
path: root/extra/libzip/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libzip/PKGBUILD')
-rw-r--r--extra/libzip/PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/extra/libzip/PKGBUILD b/extra/libzip/PKGBUILD
new file mode 100644
index 000000000..fd305346e
--- /dev/null
+++ b/extra/libzip/PKGBUILD
@@ -0,0 +1,26 @@
+# $Id: PKGBUILD 77453 2010-04-13 12:26:29Z andrea $
+# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+# Contributor: Tobias Powalowski <tpowa@archlinux.org>
+
+pkgname=libzip
+pkgver=0.9.3
+pkgrel=1
+pkgdesc="A C library for reading, creating, and modifying zip archives"
+url="http://www.nih.at/libzip/index.html"
+license=('GPL2')
+arch=('i686' 'x86_64')
+depends=('zlib')
+options=('!libtool')
+source=("http://www.nih.at/${pkgname}/${pkgname}-${pkgver}.tar.gz")
+md5sums=('e5fa5d0c5d2ad4c7a0c0fc7f5a1695b9')
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ ./configure --prefix=/usr
+ make || return 1
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make DESTDIR=${pkgdir} install || return 1
+}