From 60484c8bdce2eda5769f85284666dcf48b960d04 Mon Sep 17 00:00:00 2001 From: xhaa123 Date: Sat, 7 Sep 2024 23:18:11 +0800 Subject: [PATCH] xz 5.6.2-1 --- xz/PKGBUILD | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 xz/PKGBUILD diff --git a/xz/PKGBUILD b/xz/PKGBUILD new file mode 100644 index 0000000..2e46f45 --- /dev/null +++ b/xz/PKGBUILD @@ -0,0 +1,34 @@ +# 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 +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 +}