sbcl 2.1.11 rebuild
[arch-packages.git] / sdl2_ttf / repos / extra-x86_64 / PKGBUILD
blob853217861f82e868b0d94dc5ee14fef6ce437a14
1 # Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
3 pkgname=sdl2_ttf
4 pkgver=2.0.15
5 pkgrel=2
6 pkgdesc="A library that allows you to use TrueType fonts in your SDL applications (Version 2)"
7 arch=('x86_64')
8 url="http://www.libsdl.org/projects/SDL_ttf"
9 license=('MIT')
10 depends=('sdl2' 'freetype2')
11 makedepends=('cmake')
12 source=("https://www.libsdl.org/projects/SDL_ttf/release/SDL2_ttf-${pkgver}.tar.gz")
13 sha512sums=('30d685932c3dd6f2c94e2778357a5c502f0421374293d7102a64d92f9c7861229bf36bedf51c1a698b296a58c858ca442d97afb908b7df1592fc8d4f8ae8ddfd')
15 prepare() {
16   cd SDL2_ttf-${pkgver}
18   touch NEWS README AUTHORS ChangeLog
19   autoreconf -vi
22 build() {
23   cd "${srcdir}/SDL2_ttf-${pkgver}/"
25   ./configure --disable-static --prefix=/usr
26   make
29 package() {
30   cd "${srcdir}/SDL2_ttf-${pkgver}/"
32   make DESTDIR="${pkgdir}/" install
33   install -Dm644 COPYING.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"