core/sdl_ttf/PKGBUILD

35 lines
841 B
Bash
Raw Normal View History

2011-03-25 01:24:26 +08:00
#
# Platform Packages for Chakra, part of chakra-project.org
#
2012-11-02 07:01:21 +08:00
# maintainer abveritas@chakra-project.org
2011-03-25 01:24:26 +08:00
2010-03-14 23:48:48 +08:00
pkgname=sdl_ttf
2012-11-02 07:01:21 +08:00
pkgver=2.0.11
2011-03-25 01:24:26 +08:00
pkgrel=1
2010-03-14 23:48:48 +08:00
pkgdesc="A library that allows you to use TrueType fonts in your SDL applications"
2012-11-02 07:01:21 +08:00
arch=('x86_64')
license=('custom')
2010-03-14 23:48:48 +08:00
url="http://www.libsdl.org/projects/SDL_ttf/"
depends=('sdl>=1.2.12' 'freetype2')
options=('!libtool')
2012-11-02 07:01:21 +08:00
source=("http://www.libsdl.org/projects/SDL_ttf/release/SDL_ttf-${pkgver}.tar.gz"
'bug1433.patch')
md5sums=('61e29bd9da8d245bc2471d1b2ce591aa'
'f847697e18eec539aaf3ffb96996abbf')
2010-03-14 23:48:48 +08:00
build() {
2012-11-02 07:01:21 +08:00
cd "${srcdir}/SDL_ttf-${pkgver}"
patch -i "$srcdir/bug1433.patch"
2010-03-14 23:48:48 +08:00
./configure --prefix=/usr
2012-11-02 07:01:21 +08:00
make
}
package() {
cd "${srcdir}/SDL_ttf-${pkgver}"
2010-03-14 23:48:48 +08:00
make DESTDIR=${pkgdir} install
2012-11-02 07:01:21 +08:00
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
2010-03-14 23:48:48 +08:00
}