summaryrefslogtreecommitdiff
path: root/multilib/lib32-libxft
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-libxft
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'multilib/lib32-libxft')
-rw-r--r--multilib/lib32-libxft/PKGBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/multilib/lib32-libxft/PKGBUILD b/multilib/lib32-libxft/PKGBUILD
new file mode 100644
index 000000000..6036674d0
--- /dev/null
+++ b/multilib/lib32-libxft/PKGBUILD
@@ -0,0 +1,35 @@
+# $Id: PKGBUILD 31474 2010-10-31 22:37:35Z ibiru $
+# Maintainer: Ionut Biru <ibiru@archlinux.org>
+_pkgbasename=libxft
+pkgname=lib32-$_pkgbasename
+pkgver=2.2.0
+pkgrel=1
+pkgdesc="FreeType-based font drawing library for X (32-bit)"
+arch=('x86_64')
+license=('custom')
+url="http://xorg.freedesktop.org/"
+depends=('lib32-fontconfig' 'lib32-libxrender')
+makedepends=('gcc-multilib')
+options=('!libtool')
+source=(${url}/releases/individual/lib/libXft-${pkgver}.tar.bz2)
+sha1sums=('ed29784259f4e26df78141035560ae8a7c62e83f')
+
+build() {
+ export CC="gcc -m32"
+ export CXX="g++ -m32"
+ export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
+
+ cd ${srcdir}/libXft-${pkgver}
+ ./configure --prefix=/usr \
+ --libdir=/usr/lib32 --disable-static
+ make
+}
+
+package() {
+ cd "${srcdir}/libXft-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+
+ rm -rf "${pkgdir}"/usr/{bin,include,share}
+ mkdir -p "$pkgdir/usr/share/licenses"
+ ln -s $_pkgbasename "$pkgdir/usr/share/licenses/$pkgname"
+}