Core/xz/PKGBUILD
2024-09-07 23:18:11 +08:00

35 lines
941 B
Bash

# This is an example PKGBUILD file. Use this as a start to creating your own,
# and remove these comments. For more information, see 'man PKGBUILD'.
# NOTE: Please fill out the license field for your package! If it is unknown,
# then please put 'unknown'.
# Maintainer: Future Linux Team <future_linux@163.com>
pkgname=xz
pkgver=5.6.2
pkgrel=1
pkgdesc="Library and command line tools for XZ and LZMA compressed files"
arch=('x86_64')
url="https://xz.tukaani.org/xz-utils"
license=('GPL' 'LGPL' 'custom')
groups=('base')
depends=('bash')
source=(https://github.com//tukaani-project/xz/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.xz)
sha256sums=(a9db3bb3d64e248a0fae963f8fb6ba851a26ba1822e504dc0efd18a80c626caf)
build() {
cd ${pkgname}-${pkgver}
${CONFIGURE} \
--disable-static \
--docdir=/usr/share/doc/${pkgname}-${pkgver}
make
}
package() {
cd ${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
}