Date: Tuesday, April 13, 2010 @ 08:26:29 Author: andrea Revision: 77453
upgpkg: libzip 0.9.3-1 upstream release Modified: libzip/trunk/PKGBUILD ----------+ PKGBUILD | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2010-04-13 11:56:19 UTC (rev 77452) +++ PKGBUILD 2010-04-13 12:26:29 UTC (rev 77453) @@ -1,21 +1,26 @@ # $Id$ -# Maintainer: Tobias Powalowski <[email protected]> +# Maintainer: Andrea Scarpino <[email protected]> +# Contributor: Tobias Powalowski <[email protected]> pkgname=libzip -pkgver=0.9 +pkgver=0.9.3 pkgrel=1 -pkgdesc="libzip is a C library for reading, creating, and modifying zip archives" +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') -source=(http://www.nih.at/libzip/$pkgname-$pkgver.tar.gz) -options=(!libtool) -md5sums=('5b753dfe336f6fe87b0e698b382c3071') +options=('!libtool') +source=("http://www.nih.at/${pkgname}/${pkgname}-${pkgver}.tar.gz") +md5sums=('e5fa5d0c5d2ad4c7a0c0fc7f5a1695b9') build() { - cd $startdir/src/$pkgname-$pkgver - ./configure --prefix=/usr - make || return 1 - make DESTDIR=$startdir/pkg install + cd ${srcdir}/${pkgname}-${pkgver} + ./configure --prefix=/usr + make || return 1 } + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + make DESTDIR=${pkgdir} install || return 1 +}
