[arch-commits] Commit in lib32-xz/repos (2 files)

Felix Yan felixonmars at archlinux.org
Thu Mar 19 11:00:06 UTC 2020


    Date: Thursday, March 19, 2020 @ 11:00:05
  Author: felixonmars
Revision: 600805

archrelease: copy trunk to multilib-testing-x86_64

Added:
  lib32-xz/repos/multilib-testing-x86_64/
  lib32-xz/repos/multilib-testing-x86_64/PKGBUILD
    (from rev 600804, lib32-xz/trunk/PKGBUILD)

----------+
 PKGBUILD |   45 +++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)

Copied: lib32-xz/repos/multilib-testing-x86_64/PKGBUILD (from rev 600804, lib32-xz/trunk/PKGBUILD)
===================================================================
--- multilib-testing-x86_64/PKGBUILD	                        (rev 0)
+++ multilib-testing-x86_64/PKGBUILD	2020-03-19 11:00:05 UTC (rev 600805)
@@ -0,0 +1,45 @@
+# Contributor: Pierre Schmitz <pierre at archlinux.de>
+# Contributor: François Charette <firmicus at gmx.net>
+
+pkgname=lib32-xz
+_pkgbasename=xz
+pkgver=5.2.5
+pkgrel=1
+pkgdesc='Library and command line tools for XZ and LZMA compressed files (32-bit)'
+arch=('x86_64')
+url='https://tukaani.org/xz/'
+license=('GPL' 'LGPL' 'custom')
+depends=('lib32-glibc' 'xz')
+source=("https://tukaani.org/xz/${_pkgbasename}-${pkgver}.tar.gz"{,.sig})
+sha512sums=('7443674247deda2935220fbc4dfc7665e5bb5a260be8ad858c8bd7d7b9f0f868f04ea45e62eb17c0a5e6a2de7c7500ad2d201e2d668c48ca29bd9eea5a73a3ce'
+            'SKIP')
+validpgpkeys=('3690C240CE51B4670D30AD1C38EE757D69184620')  # Lasse Collin
+
+build() {
+	cd "${srcdir}"/xz-${pkgver}
+
+	export CC="gcc -m32"
+	export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
+	
+	./configure --prefix=/usr \
+		--libdir=/usr/lib32 \
+		--disable-rpath \
+		--enable-werror
+	make
+}
+
+check() {
+	cd "${srcdir}"/xz-${pkgver}
+
+	make check
+}
+
+package() {
+	cd "${srcdir}"/xz-${pkgver}
+	
+	make DESTDIR="${pkgdir}" install
+
+	rm -rf "${pkgdir}"/usr/{bin,include,share}
+	install -d -m755 "${pkgdir}"/usr/share/licenses
+	ln -s xz "$pkgdir/usr/share/licenses/lib32-xz"
+}



More information about the arch-commits mailing list