diff options
author | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2012-01-06 09:54:55 -0300 |
---|---|---|
committer | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2012-01-06 09:54:55 -0300 |
commit | 60f323f25d2c0addbce5832ffbda060b0410d14f (patch) | |
tree | 644b9212e37f1a63dcef3977159033dee2f04392 /testing/libarchive/PKGBUILD | |
parent | 9e2eedaa4921b8d57c364fb3e2a8c9e2e96b8e69 (diff) | |
parent | 817e58c278cb8ebee7743205877d0f67c431fcec (diff) |
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts:
core/inetutils/PKGBUILD
extra/audacious/PKGBUILD
extra/cvs/PKGBUILD
kde-unstable/libkipi/PKGBUILD
libre/linux-libre/PKGBUILD
libre/mplayer-vaapi-libre/PKGBUILD
libre/pacman/PKGBUILD
libre/psutils-libre/PKGBUILD
libre/texlive-bin-libre/PKGBUILD
staging/kdebase-runtime/PKGBUILD
Diffstat (limited to 'testing/libarchive/PKGBUILD')
-rw-r--r-- | testing/libarchive/PKGBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/testing/libarchive/PKGBUILD b/testing/libarchive/PKGBUILD new file mode 100644 index 000000000..d6616659e --- /dev/null +++ b/testing/libarchive/PKGBUILD @@ -0,0 +1,36 @@ +# $Id: PKGBUILD 145944 2012-01-04 13:11:41Z dreisner $ +# Maintainer: Dan McGee <dan@archlinux.org> +pkgname=libarchive +pkgver=3.0.2 +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>=5.0.0' 'acl' 'openssl>=1.0.0' 'expat') +source=("http://libarchive.googlecode.com/files/libarchive-${pkgver}.tar.gz") +md5sums=('4df33cb107c9702c80473e0794ddf833') +sha256sums=('b27a10182f4fc3f69d01419a59ddb16fccf5df8c4b166008c04f41905e29fd74') + +# keep an upgrade path for older installations +PKGEXT='.pkg.tar.gz' + +build() { + cd "$srcdir/$pkgname-$pkgver" + ./configure --prefix=/usr --without-xml2 + make +} + +check() { + cd "$srcdir/$pkgname-$pkgver" + + # currently fails in a minor test involving atime updates (#60) + make check || : +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir" install + + install -D -m644 COPYING "$pkgdir"/usr/share/licenses/libarchive/COPYING +} |