summaryrefslogtreecommitdiff
path: root/multilib/lib32-sdl_ttf/PKGBUILD
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-sdl_ttf/PKGBUILD
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'multilib/lib32-sdl_ttf/PKGBUILD')
-rw-r--r--multilib/lib32-sdl_ttf/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/multilib/lib32-sdl_ttf/PKGBUILD b/multilib/lib32-sdl_ttf/PKGBUILD
new file mode 100644
index 000000000..19f3f0014
--- /dev/null
+++ b/multilib/lib32-sdl_ttf/PKGBUILD
@@ -0,0 +1,31 @@
+# $Id: PKGBUILD 35154 2010-12-16 21:15:47Z heftig $
+# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
+# Contributor: Esa lakaniemi <esalaka@gmail.com>
+
+_pkgbasename=sdl_ttf
+pkgname=lib32-$_pkgbasename
+pkgver=2.0.10
+pkgrel=3
+pkgdesc="A library that allows you to use TrueType fonts in your SDL applications (32-bit)"
+arch=('x86_64')
+url="http://www.libsdl.org/projects/SDL_ttf/"
+license=('LGPL')
+options=('!libtool')
+depends=('lib32-sdl' 'lib32-freetype2' $_pkgbasename)
+makedepends=('gcc-multilib')
+source=(http://www.libsdl.org/projects/SDL_ttf/release/SDL_ttf-$pkgver.tar.gz)
+sha256sums=('7d38704bcc7c34029c2dcb73b2d4857e8ad76341c6e0faed279eb9f743c66c6a')
+
+build() {
+ cd "${srcdir}"/SDL_ttf-${pkgver}
+ ./configure --prefix=/usr --libdir=/usr/lib32 CC="gcc -m32" PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
+ make
+}
+
+package() {
+ cd "${srcdir}"/SDL_ttf-${pkgver}
+ make DESTDIR=${pkgdir} install
+ rm -rf "${pkgdir}"/usr/include
+}
+
+# vim: sw=2:ts=2 et: