core/libzip/PKGBUILD

36 lines
943 B
Bash
Raw Normal View History

#
# Platform Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
2010-03-14 23:48:48 +08:00
pkgname=libzip
pkgver=0.10
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"
'fix-headers.patch')
md5sums=('47cdfcbc08c8bea0b52fdee4bf591622'
'249395bd3a426c4c4e993e9d4753e1dd')
2010-03-14 23:48:48 +08:00
build() {
2010-05-17 15:50:50 +08:00
cd ${srcdir}/${pkgname}-${pkgver}
patch -p1 -i "${srcdir}/fix-headers.patch"
2010-05-17 15:50:50 +08:00
./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
}