summaryrefslogtreecommitdiff
path: root/multilib/lib32-libxdamage
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /multilib/lib32-libxdamage
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'multilib/lib32-libxdamage')
-rw-r--r--multilib/lib32-libxdamage/PKGBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/multilib/lib32-libxdamage/PKGBUILD b/multilib/lib32-libxdamage/PKGBUILD
new file mode 100644
index 000000000..17e003925
--- /dev/null
+++ b/multilib/lib32-libxdamage/PKGBUILD
@@ -0,0 +1,35 @@
+# $Id: PKGBUILD 26644 2010-09-15 22:46:36Z bluewind $
+# Maintainer: Jan de Groot <jgc@archlinux.org>
+
+_pkgbasename=libxdamage
+pkgname=lib32-$_pkgbasename
+pkgver=1.1.3
+pkgrel=3
+pkgdesc="X11 damaged region extension library (32-bit)"
+arch=(x86_64)
+url="http://xorg.freedesktop.org/"
+license=('custom')
+depends=('lib32-libxfixes>=4.0.4' $_pkgbasename)
+makedepends=('pkg-config' 'damageproto>=1.2.0' gcc-multilib)
+options=('!libtool')
+source=(${url}/releases/individual/lib/libXdamage-${pkgver}.tar.bz2)
+sha1sums=('7d96e8de107fede16951cb47d5e147630fbc7dee')
+
+build() {
+ export CC="gcc -m32"
+ export CXX="g++ -m32"
+ export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
+
+ cd "${srcdir}/libXdamage-${pkgver}"
+ ./configure --prefix=/usr --sysconfdir=/etc --disable-static --libdir=/usr/lib32
+ make
+}
+
+package() {
+ cd "${srcdir}/libXdamage-${pkgver}"
+
+ make DESTDIR="${pkgdir}" install || return 1
+ rm -rf "${pkgdir}"/usr/{include,share,bin}
+ mkdir -p "$pkgdir/usr/share/licenses"
+ ln -s $_pkgbasename "$pkgdir/usr/share/licenses/$pkgname"
+}