[arch-commits] Commit in lib32-libxi/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Fri Nov 9 23:28:06 UTC 2018
Date: Friday, November 9, 2018 @ 23:28:05
Author: felixonmars
Revision: 405289
archrelease: copy trunk to multilib-staging-x86_64
Added:
lib32-libxi/repos/multilib-staging-x86_64/
lib32-libxi/repos/multilib-staging-x86_64/PKGBUILD
(from rev 405287, lib32-libxi/trunk/PKGBUILD)
----------+
PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
Copied: lib32-libxi/repos/multilib-staging-x86_64/PKGBUILD (from rev 405287, lib32-libxi/trunk/PKGBUILD)
===================================================================
--- multilib-staging-x86_64/PKGBUILD (rev 0)
+++ multilib-staging-x86_64/PKGBUILD 2018-11-09 23:28:05 UTC (rev 405289)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+_pkgbasename=libxi
+pkgname=lib32-$_pkgbasename
+pkgver=1.7.9
+pkgrel=2
+pkgdesc="X11 Input extension library (32-bit)"
+arch=('x86_64')
+url="https://xorg.freedesktop.org"
+depends=('lib32-libxext' 'lib32-libxfixes' 'inputproto' $_pkgbasename)
+makedepends=('pkgconfig' 'xorg-util-macros' gcc-multilib automake)
+license=('custom')
+source=(${url}/releases/individual/lib/libXi-${pkgver}.tar.bz2{,.sig})
+sha256sums=('c2e6b8ff84f9448386c1b5510a5cf5a16d788f76db018194dacdc200180faf45'
+ 'SKIP')
+validpgpkeys=('3C2C43D9447D5938EF4551EBE23B7E70B467F0BF') # Peter Hutterer
+validpgpkeys+=('C41C985FDCF1E5364576638B687393EE37D128F8') # Matthieu Herrb <matthieu.herrb at laas.fr>
+
+build() {
+ export CC="gcc -m32"
+ export CXX="g++ -m32"
+ export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
+
+ cd "${srcdir}/libXi-${pkgver}"
+
+ ./configure --prefix=/usr --sysconfdir=/etc --disable-static \
+ --libdir=/usr/lib32
+
+ make
+}
+
+package() {
+ cd "${srcdir}/libXi-${pkgver}"
+
+ make DESTDIR="${pkgdir}" install
+
+ rm -rf "${pkgdir}"/usr/{include,share,bin}
+ mkdir -p "$pkgdir/usr/share/licenses"
+ ln -s $_pkgbasename "$pkgdir/usr/share/licenses/$pkgname"
+}
More information about the arch-commits
mailing list