[arch-commits] Commit in lib32-xz/repos (2 files)
Felix Yan
fyan at archlinux.org
Tue Dec 30 15:56:48 UTC 2014
Date: Tuesday, December 30, 2014 @ 16:56:47
Author: fyan
Revision: 124943
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 124942, lib32-xz/trunk/PKGBUILD)
----------+
PKGBUILD | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 48 insertions(+)
Copied: lib32-xz/repos/multilib-testing-x86_64/PKGBUILD (from rev 124942, lib32-xz/trunk/PKGBUILD)
===================================================================
--- multilib-testing-x86_64/PKGBUILD (rev 0)
+++ multilib-testing-x86_64/PKGBUILD 2014-12-30 15:56:47 UTC (rev 124943)
@@ -0,0 +1,48 @@
+# $Id$
+# Contributor: Pierre Schmitz <pierre at archlinux.de>
+# Contributor: François Charette <firmicus at gmx.net>
+
+pkgname=lib32-xz
+_pkgbasename=xz
+pkgver=5.0.8
+pkgrel=1
+pkgdesc='Library and command line tools for XZ and LZMA compressed files (32-bit)'
+arch=('x86_64')
+url='http://tukaani.org/xz/'
+license=('GPL' 'LGPL' 'custom')
+depends=('lib32-glibc' 'xz')
+makedepends=('gcc-multilib')
+source=("http://tukaani.org/xz/${_pkgbasename}-${pkgver}.tar.gz"
+ "http://tukaani.org/xz/${_pkgbasename}-${pkgver}.tar.gz.sig")
+md5sums=('d19507f40e0d904d0a1b7914b173800e'
+ '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/xz/
+ ln -s xz "$pkgdir/usr/share/licenses/xz/lib32-xz"
+}
More information about the arch-commits
mailing list