diff options
author | Britney Fransen <brfransen@gmail.com> | 2013-09-03 22:07:38 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2013-09-03 22:07:38 (GMT) |
commit | 070df0f6aec8333a0d775994b61411418ebe29dd (patch) | |
tree | 960dd7aa89f2270bc296c75e2e37552b83a3ccca /abs/core/libarchive/PKGBUILD | |
parent | bb07bc66b3020f320fb818ec426807fcb89159f0 (diff) | |
download | linhes_pkgbuild-070df0f6aec8333a0d775994b61411418ebe29dd.zip linhes_pkgbuild-070df0f6aec8333a0d775994b61411418ebe29dd.tar.gz linhes_pkgbuild-070df0f6aec8333a0d775994b61411418ebe29dd.tar.bz2 |
libarchive: update to 3.1.2
Diffstat (limited to 'abs/core/libarchive/PKGBUILD')
-rw-r--r-- | abs/core/libarchive/PKGBUILD | 34 |
1 files changed, 23 insertions, 11 deletions
diff --git a/abs/core/libarchive/PKGBUILD b/abs/core/libarchive/PKGBUILD index e3f7385..cb043a3 100644 --- a/abs/core/libarchive/PKGBUILD +++ b/abs/core/libarchive/PKGBUILD @@ -1,32 +1,44 @@ -# $Id: PKGBUILD 155375 2012-04-02 16:12:53Z dan $ +# $Id$ # Maintainer: Dan McGee <dan@archlinux.org> pkgname=libarchive -pkgver=3.0.4 -pkgrel=1 +pkgver=3.1.2 +pkgrel=2 pkgdesc="library that can create and read several streaming archive formats" arch=('i686' 'x86_64') -url="http://libarchive.googlecode.com/" +url="http://libarchive.org/" license=('BSD') -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') +depends=('acl' 'attr' 'bzip2' 'expat' 'lzo2' 'openssl' 'xz' 'zlib') +provides=('libarchive.so') +source=("http://libarchive.org/downloads/$pkgname-$pkgver.tar.gz" + '0001-mtree-fix-line-filename-length-calculation.patch' + 'libarchive-3.1.2-acl.patch') +md5sums=('efad5a503f66329bb9d2f4308b5de98a' + 'fda89c145bbcd793a96b06b463ef6a72' + 'a5c995661c62429ceff2c23ea322393b') build() { - cd "$srcdir/$pkgname-$pkgver" + cd "$pkgname-$pkgver" + + # https://code.google.com/p/libarchive/issues/detail?id=301 + # upstream commit e65bf287f0133426b26611fe3e80b51267987106 + patch -Np1 -i "$srcdir/0001-mtree-fix-line-filename-length-calculation.patch" + + # https://code.google.com/p/libarchive/issues/detail?id=329 + patch -Np1 -i "$srcdir/libarchive-3.1.2-acl.patch" + ./configure --prefix=/usr --without-xml2 make } check() { - cd "$srcdir/$pkgname-$pkgver" + cd "$pkgname-$pkgver" make check } package() { - cd "$srcdir/$pkgname-$pkgver" + cd "$pkgname-$pkgver" make DESTDIR="$pkgdir" install install -D -m644 COPYING "$pkgdir"/usr/share/licenses/libarchive/COPYING |