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

Eli Schwartz eschwartz at archlinux.org
Mon Feb 12 06:23:47 UTC 2018


    Date: Monday, February 12, 2018 @ 06:23:46
  Author: eschwartz
Revision: 292704

archrelease: copy trunk to community-x86_64

Added:
  lib32-libice/repos/community-x86_64/
  lib32-libice/repos/community-x86_64/PKGBUILD
    (from rev 292703, lib32-libice/trunk/PKGBUILD)

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

Copied: lib32-libice/repos/community-x86_64/PKGBUILD (from rev 292703, lib32-libice/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2018-02-12 06:23:46 UTC (rev 292704)
@@ -0,0 +1,40 @@
+# $Id$
+# Contributor: Alexander Baldeck <alexander at archlinux.org>
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+_pkgbasename=libice
+pkgname=lib32-$_pkgbasename
+pkgver=1.0.9
+pkgrel=2
+pkgdesc="X11 Inter-Client Exchange library (32-bit)"
+arch=(x86_64)
+url="https://xorg.freedesktop.org/"
+depends=('lib32-glibc' $_pkgbasename)
+makedepends=('xtrans>=1.2.5' 'xorg-util-macros')
+options=('!libtool')
+source=(${url}/releases/individual/lib/libICE-${pkgver}.tar.bz2{,.sig})
+license=('custom')
+sha1sums=('3c3a857a117ce48a1947a16860056e77cd494fdf'
+          'SKIP')
+validpgpkeys=('4A193C06D35E7C670FA4EF0BA2FB9E081F2D130E') # "Alan Coopersmith <alan.coopersmith at oracle.com>"
+
+build() {
+  cd "${srcdir}/libICE-${pkgver}"
+
+  export CC="gcc -m32"
+  export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
+
+  ./configure --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib32
+
+  make
+}
+
+package() {
+  cd "${srcdir}/libICE-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+
+  rm -rf "${pkgdir}"/usr/{include,share}
+
+  mkdir -p "$pkgdir/usr/share/licenses"
+  ln -s $_pkgbasename "$pkgdir/usr/share/licenses/$pkgname"
+}



More information about the arch-commits mailing list