mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
29 lines
795 B
Bash
29 lines
795 B
Bash
|
# 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:
|