From 320f8ed1aa60d6028f3deefbd9fb5d017eca9bc9 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sun, 30 Sep 2018 22:14:35 +0000 Subject: user/sdl_ttf: new package --- user/sdl_ttf/APKBUILD | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 user/sdl_ttf/APKBUILD (limited to 'user/sdl_ttf/APKBUILD') diff --git a/user/sdl_ttf/APKBUILD b/user/sdl_ttf/APKBUILD new file mode 100644 index 000000000..96321243a --- /dev/null +++ b/user/sdl_ttf/APKBUILD @@ -0,0 +1,45 @@ +# Contributor: A. Wilcox +# Maintainer: A. Wilcox +pkgname=sdl_ttf +_pkgname=SDL_ttf +pkgver=2.0.11 +pkgrel=0 +pkgdesc="TrueType font library for SDL applications" +url="https://www.libsdl.org/projects/SDL_ttf/release-1.2.html" +arch="all" +license="zlib" +depends="" +makedepends="freetype-dev libice-dev sdl-dev" +subpackages="$pkgname-dev" +source="https://www.libsdl.org/projects/$_pkgname/release/$_pkgname-$pkgver.tar.gz" +builddir="$srcdir"/$_pkgname-$pkgver + +prepare() { + cd "$builddir" + default_prepare + update_config_sub +} + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var + make +} + +check() { + cd "$builddir" + make check +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="64e04d1cd77e525e0f2413ad928841e5d3d09d551c030fc577b50777116580e430cb272b2aeb6191dfcc464669cf2f7a5a50d10e7c75637a3b1e8c8fca7fc78b SDL_ttf-2.0.11.tar.gz" -- cgit v1.2.3-70-g09d2