new blfs: app-arch/libarchive-3.8.1
This commit is contained in:
27
app-arch/libarchive-3.8.1.PKGBUILD
Normal file
27
app-arch/libarchive-3.8.1.PKGBUILD
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
pkgname=libarchive
|
||||||
|
pkgver=3.8.1
|
||||||
|
pkgdesc='Multi-format archive and compression library'
|
||||||
|
arch=('x86_64')
|
||||||
|
homepage='https://libarchive.org/'
|
||||||
|
license=('BSD-2-Clause')
|
||||||
|
sources=("${pkgname}-${pkgver}.tar.xz")
|
||||||
|
urls=("https://github.com/libarchive/libarchive/releases/download/v${pkgver}/${sources[0]}")
|
||||||
|
md5sums=("80fd1a7acc4da7c7d4a5f9f96df6e3ff")
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
||||||
|
}
|
||||||
|
|
||||||
|
src_build() {
|
||||||
|
./configure --prefix=/usr --disable-static &&
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
src_check() {
|
||||||
|
make check
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
make DESTDIR="${pkgdir}" install
|
||||||
|
ln -sfv bsdunzip ${pkgdir}/usr/bin/unzip
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user