Date: Wednesday, November 13, 2019 @ 00:53:09 Author: allan Revision: 368036
archrelease: copy trunk to testing-x86_64 Added: xz/repos/testing-x86_64/ xz/repos/testing-x86_64/PKGBUILD (from rev 368035, xz/trunk/PKGBUILD) ----------+ PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) Copied: xz/repos/testing-x86_64/PKGBUILD (from rev 368035, xz/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2019-11-13 00:53:09 UTC (rev 368036) @@ -0,0 +1,37 @@ +# Maintainer: Pierre Schmitz <pie...@archlinux.de> +# Contributor: François Charette <firmi...@gmx.net> + +pkgname=xz +pkgver=5.2.4 +pkgrel=2 +pkgdesc='Library and command line tools for XZ and LZMA compressed files' +arch=('x86_64') +url='https://tukaani.org/xz/' +license=('GPL' 'LGPL' 'custom') +depends=('sh') +source=("https://tukaani.org/${pkgname}/${pkgname}-${pkgver}.tar.gz"{,.sig}) +md5sums=('5ace3264bdd00c65eeec2891346f65e6' + 'SKIP') +validpgpkeys=('3690C240CE51B4670D30AD1C38EE757D69184620') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + + ./configure --prefix=/usr \ + --disable-rpath \ + --enable-werror + make +} + +check() { + cd ${srcdir}/${pkgname}-${pkgver} + make check +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + make DESTDIR=${pkgdir} install + install -d -m755 ${pkgdir}/usr/share/licenses/xz/ + ln -sf /usr/share/doc/xz/COPYING ${pkgdir}/usr/share/licenses/xz/ + ln -sf /usr/share/licenses/common/GPL2/license.txt ${pkgdir}/usr/share/doc/xz/COPYING.GPLv2 +}