diff options
author | James Meyer <James.meyer@operamail.com> | 2008-10-02 03:19:12 (GMT) |
---|---|---|
committer | James Meyer <James.meyer@operamail.com> | 2008-10-02 03:19:12 (GMT) |
commit | 0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a (patch) | |
tree | c0aa2c0b53c317be87eacfcb77b63f53f1f415e7 /abs/core/libarchive/PKGBUILD | |
download | linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.zip linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.gz linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.bz2 |
initial import
Diffstat (limited to 'abs/core/libarchive/PKGBUILD')
-rw-r--r-- | abs/core/libarchive/PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/abs/core/libarchive/PKGBUILD b/abs/core/libarchive/PKGBUILD new file mode 100644 index 0000000..b70f376 --- /dev/null +++ b/abs/core/libarchive/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 5444 2008-07-16 01:29:27Z dan $ +# Maintainer: Dan McGee <dan@archlinux.org> +# Maintainer: Aaron Griffin <aaron@archlinux.org> +pkgname=libarchive +pkgver=2.5.5 +pkgrel=10 +pkgdesc="library that can create and read several streaming archive formats" +arch=(i686 x86_64) +url="http://people.freebsd.org/~kientzle/libarchive/" +license=('BSD') +groups=('base') +depends=('zlib' 'bzip2' 'acl') +source=(http://people.freebsd.org/~kientzle/libarchive/src/libarchive-$pkgver.tar.gz) +md5sums=('ff6387de3a3830785b229d1e1f11f523') + +# 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) + +build() { + cd $startdir/src/$pkgname-$pkgver + ./configure --prefix=/usr + + make || return 1 + make DESTDIR=$startdir/pkg install + + # install license + mkdir -p $startdir/pkg/usr/share/licenses/libarchive + install -m644 COPYING $startdir/pkg/usr/share/licenses/libarchive/ +} + |