35 lines
776 B
Bash
35 lines
776 B
Bash
# Maintainer: Dan McGee <dan@archlinux.org>
|
|
|
|
pkgname=libarchive
|
|
pkgver=3.7.2
|
|
pkgrel=1
|
|
pkgdesc="Multi-format archive and compression library"
|
|
arch=("x86_64")
|
|
url="https://libarchive.org/"
|
|
license=("BSD")
|
|
depends=("libressl" "acl" "expat" "xz" "zstd" "lz4" "blake2" "bzip2" "zlib-ng")
|
|
provides=("tar")
|
|
source=("https://github.com/$pkgname/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver.tar.xz")
|
|
sha256sums=("04357661e6717b6941682cde02ad741ae4819c67a260593dfb2431861b251acb")
|
|
|
|
build() {
|
|
cd $pkgname-$pkgver
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--without-xml2 \
|
|
--without-nettle \
|
|
--disable-static
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd $pkgname-$pkgver
|
|
|
|
make DESTDIR=$pkgdir install
|
|
|
|
cd $pkgdir
|
|
ln -s bsdtar usr/bin/tar
|
|
ln -s bsdcpio usr/bin/cpio
|
|
ln -s bsdunzip usr/bin/unzip
|
|
}
|