diff options
Diffstat (limited to 'abs/core')
-rw-r--r-- | abs/core/libarchive/PKGBUILD | 38 |
1 files changed, 18 insertions, 20 deletions
diff --git a/abs/core/libarchive/PKGBUILD b/abs/core/libarchive/PKGBUILD index d0b2735..e3f7385 100644 --- a/abs/core/libarchive/PKGBUILD +++ b/abs/core/libarchive/PKGBUILD @@ -1,35 +1,33 @@ -# $Id: PKGBUILD 85003 2010-07-06 13:24:34Z dan $ +# $Id: PKGBUILD 155375 2012-04-02 16:12:53Z dan $ # Maintainer: Dan McGee <dan@archlinux.org> -# Maintainer: Aaron Griffin <aaron@archlinux.org> + pkgname=libarchive -pkgver=2.8.4 -pkgrel=3 +pkgver=3.0.4 +pkgrel=1 pkgdesc="library that can create and read several streaming archive formats" arch=('i686' 'x86_64') url="http://libarchive.googlecode.com/" license=('BSD') -depends=('zlib' 'bzip2' 'xz' 'acl' 'openssl>=1.0.0' 'expat') -source=("http://libarchive.googlecode.com/files/libarchive-${pkgver}.tar.gz") -md5sums=('83b237a542f27969a8d68ac217dc3796') -sha256sums=('86cffa3eaa28d3116f5d0b20284026c3762cf4a2b52b9844df2b494d4a89f688') - -# pacman.static build fails unless we keep the libtool files (or unless we link -# the missing symbols inside the libarchive .a static lib, but that is dirty) -options=('libtool') - -# keep an upgrade path for older installations -PKGEXT='.pkg.tar.gz' +depends=('zlib' 'bzip2' 'xz>=5.0.0' 'acl' 'openssl>=1.0.0' 'expat') +source=("https://github.com/downloads/libarchive/libarchive/libarchive-${pkgver}.tar.gz") +md5sums=('af443ca9a10ddbcbf00f7ae34ca7fc16') +sha256sums=('76e8d7c7b100ec4071e48c1b7d3f3ea1d22b39db3e45b7189f75b5ff4df90fac') build() { - cd $srcdir/$pkgname-$pkgver + cd "$srcdir/$pkgname-$pkgver" ./configure --prefix=/usr --without-xml2 + make +} + +check() { + cd "$srcdir/$pkgname-$pkgver" - make || return 1 + make check } package() { - cd $srcdir/$pkgname-$pkgver - make DESTDIR=$pkgdir install + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir" install - install -D -m644 COPYING $pkgdir/usr/share/licenses/libarchive/COPYING + install -D -m644 COPYING "$pkgdir"/usr/share/licenses/libarchive/COPYING } |