mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
25 lines
670 B
Bash
25 lines
670 B
Bash
# Maintainer: Alexander Foremny <alexanderforemny@gmail.com>
|
|
# Modified by OpenPogo
|
|
|
|
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)
|
|
md5sums=(a2103ca334037562ad327eb3aed54869)
|
|
options=(libtool)
|
|
|
|
build() {
|
|
cd "$srcdir/libarchive-$pkgver"
|
|
|
|
./configure --prefix=/opt
|
|
make || return 1
|
|
make DESTDIR="$pkgdir" install || return 1
|
|
|
|
install -Dm644 COPYING "$pkgdir/opt/share/licenses/libarchive/COPYING"
|
|
}
|