pkgs/xz/PKGBUILD

29 lines
558 B
Text
Raw Normal View History

2023-12-05 04:47:04 +00:00
# Maintainer: Daryl Ronningen <relms@relms.dev>
pkgname=xz
pkgver=5.4.5
pkgrel=1
2023-12-08 02:05:38 +00:00
pkgdesc="Library and command line tools for XZ and LZMA compressed files"
arch=("x86_64")
url="https://tukaani.org/xz/"
license=("GPL" "LGPL" "custom")
source=("https://tukaani.org/$pkgname/$pkgname-$pkgver.tar.gz")
sha256sums=("135c90b934aee8fbc0d467de87a05cb70d627da36abe518c357a873709e5b7d6")
2023-12-05 04:47:04 +00:00
build() {
2023-12-08 02:05:38 +00:00
cd $pkgname-$pkgver
2023-12-05 04:47:04 +00:00
2023-12-08 02:05:38 +00:00
./configure \
--prefix=/usr \
--disable-rpath \
--enable-werror
make
2023-12-05 04:47:04 +00:00
}
package() {
2023-12-08 02:05:38 +00:00
cd $pkgname-$pkgver
2023-12-05 04:47:04 +00:00
2023-12-08 02:05:38 +00:00
make DESTDIR=$pkgdir install
2023-12-05 04:47:04 +00:00
}