mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-11 12:54:37 +08:00
30 lines
757 B
Bash
30 lines
757 B
Bash
#
|
|
# Chakra Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer abveritas[at]chakra-project[dot]org>
|
|
|
|
pkgname=libarchive
|
|
pkgver=3.0.4
|
|
pkgrel=1
|
|
pkgdesc="library that can create and read several streaming archive formats"
|
|
arch=('x86_64')
|
|
url="http://libarchive.googlecode.com/"
|
|
license=('BSD')
|
|
depends=('zlib' 'bzip2' 'xz>=5.0.2' 'acl' 'openssl>=1.0.0' 'expat')
|
|
source=("https://github.com/downloads/libarchive/libarchive/libarchive-${pkgver}.tar.gz")
|
|
md5sums=('af443ca9a10ddbcbf00f7ae34ca7fc16')
|
|
|
|
build() {
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
|
|
./configure --prefix=/usr --without-xml2
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
install -D -m644 COPYING "$pkgdir"/usr/share/licenses/libarchive/COPYING
|
|
}
|