27 lines
610 B
Bash
27 lines
610 B
Bash
# Maintainer: Daryl Ronningen <relms@relms.dev>
|
|
|
|
pkgname=xz
|
|
pkgver=5.4.5
|
|
pkgrel=1
|
|
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')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--disable-rpath \
|
|
--enable-werror
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|