summaryrefslogtreecommitdiff
path: root/testing/libarchive/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-01-25 23:14:53 +0000
committerroot <root@rshg054.dnsready.net>2012-01-25 23:14:53 +0000
commita61c6fb05ec1cbc6845b2ed4077ce0c5950c36ed (patch)
tree7f7f0f3918738e6a508485da2242eec835d6e2ea /testing/libarchive/PKGBUILD
parent2aa2acfff38de7de825868995e49792ecfc03126 (diff)
Wed Jan 25 23:14:53 UTC 2012
Diffstat (limited to 'testing/libarchive/PKGBUILD')
-rw-r--r--testing/libarchive/PKGBUILD26
1 files changed, 19 insertions, 7 deletions
diff --git a/testing/libarchive/PKGBUILD b/testing/libarchive/PKGBUILD
index a40ad46f7..28229f186 100644
--- a/testing/libarchive/PKGBUILD
+++ b/testing/libarchive/PKGBUILD
@@ -1,16 +1,23 @@
-# $Id: PKGBUILD 146572 2012-01-13 16:55:27Z dreisner $
+# $Id: PKGBUILD 147250 2012-01-25 03:21:31Z dreisner $
# Maintainer: Dan McGee <dan@archlinux.org>
+
pkgname=libarchive
pkgver=3.0.3
-pkgrel=2
+pkgrel=3
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>=5.0.0' 'acl' 'openssl>=1.0.0' 'expat')
-source=("http://libarchive.googlecode.com/files/libarchive-${pkgver}.tar.gz")
-md5sums=('ca4090f0099432a9ac5a8b6618dc3892')
-sha256sums=('c5fc7620f74a54b1717e4aed38aee85dc27a988ad1db7640f28eb63a82ea62d7')
+source=("http://libarchive.googlecode.com/files/libarchive-${pkgver}.tar.gz"
+ 'interpret-non-posix-zips.patch'
+ 'test-with-zip-mtime.patch')
+md5sums=('ca4090f0099432a9ac5a8b6618dc3892'
+ 'f02b88eb10877c7a7d527ed89c662e44'
+ '8366def6d7d70d424fa28a986c78c015')
+sha256sums=('c5fc7620f74a54b1717e4aed38aee85dc27a988ad1db7640f28eb63a82ea62d7'
+ '9d8240a360d61464dfc5a98342f520ad41b0f922261f2ace7ec1fefb8c289bdc'
+ 'b7a8be5c1e3220960a9f67c9779b10d2663e25d72939546b4f01a49f1ee3a61f')
# keep an upgrade path for older installations
PKGEXT='.pkg.tar.gz'
@@ -18,6 +25,12 @@ PKGEXT='.pkg.tar.gz'
build() {
cd "$srcdir/$pkgname-$pkgver"
+ # http://code.google.com/p/libarchive/issues/detail?id=225
+ patch -Np0 <"$srcdir/interpret-non-posix-zips.patch"
+
+ # http://code.google.com/p/libarchive/issues/detail?id=231
+ patch -Np0 <"$srcdir/test-with-zip-mtime.patch"
+
./configure --prefix=/usr --without-xml2
make
}
@@ -25,8 +38,7 @@ build() {
check() {
cd "$srcdir/$pkgname-$pkgver"
- # currently fails on i686 in a minor test involving atime updates (#60)
- make check || :
+ make check
}
package() {