diff options
author | James Meyer <james.meyer@operamail.com> | 2010-09-10 02:02:41 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2010-09-10 02:02:41 (GMT) |
commit | f2fbbf4a451664166f98f042e68edc146e9698fd (patch) | |
tree | c9aa8d9f084e1edb4cace55b340e8698c82b0c9e /abs/core-testing/libarchive/PKGBUILD | |
parent | 29b4f1f1a35fbe81a50f8b96752c58eafc2f86a4 (diff) | |
parent | 6264aaba64f4165fd714220e10c4900401b85617 (diff) | |
download | linhes_pkgbuild-f2fbbf4a451664166f98f042e68edc146e9698fd.zip linhes_pkgbuild-f2fbbf4a451664166f98f042e68edc146e9698fd.tar.gz linhes_pkgbuild-f2fbbf4a451664166f98f042e68edc146e9698fd.tar.bz2 |
Merge branch 'HEAD' of ssh://jams@knoppmyth.net/mount/repository/LinHES-PKGBUILD
Diffstat (limited to 'abs/core-testing/libarchive/PKGBUILD')
-rw-r--r-- | abs/core-testing/libarchive/PKGBUILD | 33 |
1 files changed, 19 insertions, 14 deletions
diff --git a/abs/core-testing/libarchive/PKGBUILD b/abs/core-testing/libarchive/PKGBUILD index 1c29cd2..ad44d8f 100644 --- a/abs/core-testing/libarchive/PKGBUILD +++ b/abs/core-testing/libarchive/PKGBUILD @@ -1,30 +1,35 @@ -# $Id: PKGBUILD 50484 2009-08-27 22:33:42Z thomas $ +# $Id: PKGBUILD 85003 2010-07-06 13:24:34Z dan $ # Maintainer: Dan McGee <dan@archlinux.org> # Maintainer: Aaron Griffin <aaron@archlinux.org> pkgname=libarchive -pkgver=2.7.1 +pkgver=2.8.4 pkgrel=1 pkgdesc="library that can create and read several streaming archive formats" -arch=(i686 x86_64) +arch=('i686' 'x86_64') url="http://libarchive.googlecode.com/" license=('BSD') -groups=('base') -depends=('zlib' 'bzip2' 'xz-utils' 'acl' 'openssl') -source=(http://libarchive.googlecode.com/files/libarchive-$pkgver.tar.gz) -sha256sums=('a7e066ef857d3db0211e2d916ca14aafc48a4776c4fa108fd67092ce862a7ba8') +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) +options=('libtool') + +# keep an upgrade path for older installations +PKGEXT='.pkg.tar.gz' build() { - cd $startdir/src/$pkgname-$pkgver - ./configure --prefix=/usr + cd $srcdir/$pkgname-$pkgver + ./configure --prefix=/usr --without-xml2 make || return 1 - make DESTDIR=$startdir/pkg install +} + +package() { + cd $srcdir/$pkgname-$pkgver + make DESTDIR=$pkgdir install - # install license - mkdir -p $startdir/pkg/usr/share/licenses/libarchive - install -m644 COPYING $startdir/pkg/usr/share/licenses/libarchive/ + install -D -m644 COPYING $pkgdir/usr/share/licenses/libarchive/COPYING } |