aboutsummaryrefslogtreecommitdiffstats
path: root/community/sdl2_ttf/APKBUILD
blob: 78506b987cd35cfdcd46dabfd897f87dbfe3a312 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Contributor: August Klein <amatcoder@gmail.com>
# Maintainer: August Klein <amatcoder@gmail.com>
pkgname=sdl2_ttf
pkgver=2.0.15
pkgrel=1
_pkgname=SDL2_ttf
pkgdesc="A library which allows you to use TrueType fonts in your SDL applications"
url="http://www.libsdl.org/projects/SDL_ttf/"
arch="all"
license="Zlib"
depends_dev="freetype-dev"
makedepends="$depends_dev mesa-dev sdl2-dev"
subpackages="$pkgname-dev"
options="!check"  # no test suite
source="https://www.libsdl.org/projects/SDL_ttf/release/$_pkgname-$pkgver.tar.gz"

builddir="$srcdir"/$_pkgname-$pkgver

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--enable-static
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="30d685932c3dd6f2c94e2778357a5c502f0421374293d7102a64d92f9c7861229bf36bedf51c1a698b296a58c858ca442d97afb908b7df1592fc8d4f8ae8ddfd  SDL2_ttf-2.0.15.tar.gz"