Date: Tuesday, June 1, 2010 @ 14:21:25 Author: pierre Revision: 81588
upgpkg: libarchive 2.8.3-4 rebuld for openssl dep Modified: libarchive/trunk/PKGBUILD ----------+ PKGBUILD | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2010-06-01 17:43:43 UTC (rev 81587) +++ PKGBUILD 2010-06-01 18:21:25 UTC (rev 81588) @@ -3,34 +3,32 @@ # Maintainer: Aaron Griffin <[email protected]> pkgname=libarchive pkgver=2.8.3 -pkgrel=3 +pkgrel=4 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') -depends=('zlib' 'bzip2' 'xz' 'acl' 'openssl>=1.0.0' 'expat') -source=(http://libarchive.googlecode.com/files/libarchive-$pkgver.tar.gz) +depends=('zlib' 'bzip2' 'xz' 'acl' 'openssl>=1.0.0a' 'expat') +source=("http://libarchive.googlecode.com/files/libarchive-${pkgver}.tar.gz") md5sums=('fe8d917e101d4b37580124030842a1d0') # 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 + cd $srcdir/$pkgname-$pkgver ./configure --prefix=/usr --without-xml2 make || return 1 } package() { - cd $startdir/src/$pkgname-$pkgver - make DESTDIR=$startdir/pkg install + 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 }
