lib32/lib32-sdl_ttf/PKGBUILD
Samir 850fefed49 added $_pkgbasename=$pkgver to most packages
This has been scripted, some might have been missed some PKGBUILDS
might be broken, so please chock when building.
2012-10-31 14:53:16 +00:00

32 lines
943 B
Bash

# Lib32 Packages for Chakra, part of chakra-project.org
#
# maintainer (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
# maintainer (x86_64): Anke Boersma <abveritas[at]chakra-project[dot]org>
_pkgbasename=sdl_ttf
pkgname=lib32-$_pkgbasename
pkgver=2.0.10
pkgrel=2
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=$pkgver)
makedepends=('gcc-multilib')
source=(http://www.libsdl.org/projects/SDL_ttf/release/SDL_ttf-$pkgver.tar.gz)
md5sums=('814e6e17e8879254208d23b3b7e0354b')
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
}