core/libzip/PKGBUILD

27 lines
695 B
Bash
Raw Normal View History

2010-05-17 15:50:50 +08:00
# $Id: PKGBUILD 77453 2010-04-13 12:26:29Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Tobias Powalowski <tpowa@archlinux.org>
2010-03-14 23:48:48 +08:00
pkgname=libzip
2010-05-17 15:50:50 +08:00
pkgver=0.9.3
2010-03-14 23:48:48 +08:00
pkgrel=1
2010-05-17 15:50:50 +08:00
pkgdesc="A C library for reading, creating, and modifying zip archives"
2010-03-14 23:48:48 +08:00
url="http://www.nih.at/libzip/index.html"
license=('GPL2')
arch=('i686' 'x86_64')
depends=('zlib')
2010-05-17 15:50:50 +08:00
options=('!libtool')
source=("http://www.nih.at/${pkgname}/${pkgname}-${pkgver}.tar.gz")
md5sums=('e5fa5d0c5d2ad4c7a0c0fc7f5a1695b9')
2010-03-14 23:48:48 +08:00
build() {
2010-05-17 15:50:50 +08:00
cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr
make || return 1
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install || return 1
2010-03-14 23:48:48 +08:00
}