update to 12.3: xz

This commit is contained in:
Yingjie Wang 2025-03-18 22:22:50 -04:00
parent 258813c2a4
commit fa0498777f

View File

@ -1,11 +1,11 @@
pkgname="xz"
pkgver="5.6.2"
pkgver="5.6.4"
pkgdesc='Library and command line tools for XZ and LZMA compressed files'
homepage="https://tukaani.org/xz"
license=('GPL' 'LGPL' 'custom')
sources=("xz-5.6.2.tar.xz")
urls=("https://github.com//tukaani-project/xz/releases/download/v5.6.2/xz-5.6.2.tar.xz")
md5sums=("bbf73fb28425cebb854328599f85c4cf")
sources=("${pkgname}-${pkgver}.tar.xz")
urls=("https://github.com//tukaani-project/xz/releases/download/v${pkgver}/${sources[0]}")
md5sums=("4b1cf07d45ec7eb90a01dd3c00311a3e")
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
@ -14,7 +14,7 @@ src_prepare() {
src_build() {
./configure --prefix=/usr \
--disable-static \
--docdir=/usr/share/doc/xz-5.6.2 &&
--docdir=/usr/share/doc/${pkgname}-${pkgver} &&
make
}