PKGBUILDs/core/libarchive/PKGBUILD

29 lines
795 B
Bash
Raw Normal View History

2009-09-26 14:35:50 +00:00
# Maintainer: Alexander Foremny <alexanderforemny@gmail.com>
pkgname=libarchive
pkgver=2.7.0
pkgrel=1
pkgdesc="Library that can create and read several streaming archive formats"
arch=(arm)
url="http://people.freebsd.org/~kientzle/libarchive/"
license=(BSD)
groups=(base)
depends=(zlib bzip2 acl)
source=(http://libarchive.googlecode.com/files/libarchive-$pkgver.tar.gz)
# 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 "$srcdir/libarchive-$pkgver"
./configure --prefix=/usr
make || return 1
make DESTDIR="$pkgdir" install || return 1
install -Dm644 COPYING "$pkgdir/usr/share/licenses/libarchive/COPYING"
}
# vim: set ft=sh ts=2 sw=2 et: