diff options
author | root <root@rshg054.dnsready.net> | 2013-04-29 00:34:23 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-04-29 00:34:23 -0700 |
commit | bab69e0f720c6f189c4486b7b945079be23f0a4b (patch) | |
tree | 381ff8864fb51d2d7510c6cb1dc2bc8972b8de47 /extra/libzip/PKGBUILD | |
parent | f38edbff3878008c8b2ae1ca8a496c349763017b (diff) |
Mon Apr 29 00:34:20 PDT 2013
Diffstat (limited to 'extra/libzip/PKGBUILD')
-rw-r--r-- | extra/libzip/PKGBUILD | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/extra/libzip/PKGBUILD b/extra/libzip/PKGBUILD index cc5a7c773..86d2b8d43 100644 --- a/extra/libzip/PKGBUILD +++ b/extra/libzip/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 181869 2013-04-05 03:45:55Z eric $ +# $Id: PKGBUILD 183834 2013-04-28 07:37:57Z eric $ # Maintainer: Andrea Scarpino <andrea@archlinux.org> # Contributor: Tobias Powalowski <tpowa@archlinux.org> pkgname=libzip -pkgver=0.11 +pkgver=0.11.1 pkgrel=1 pkgdesc="A C library for reading, creating, and modifying zip archives" url="http://www.nih.at/libzip/index.html" @@ -13,20 +13,23 @@ depends=('zlib') options=('!libtool') source=("http://www.nih.at/${pkgname}/${pkgname}-${pkgver}.tar.xz" 'fix-headers.patch') -md5sums=('9fb13212011721983fe7119393565533' +md5sums=('87d5ec3629f6ad2a4b01ad961e7f0c19' '249395bd3a426c4c4e993e9d4753e1dd') -build() { - cd "${srcdir}/${pkgname}-${pkgver}" - +prepare() { + cd ${pkgname}-${pkgver} patch -p1 -i "${srcdir}/fix-headers.patch" +} + +build() { + cd ${pkgname}-${pkgver} autoreconf -i ./configure --prefix=/usr make } package() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd ${pkgname}-${pkgver} make DESTDIR="${pkgdir}" install install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } |