diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-09-30 22:14:35 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-10-01 00:26:20 +0000 |
commit | 320f8ed1aa60d6028f3deefbd9fb5d017eca9bc9 (patch) | |
tree | fa371aecd38e15a3baaa9b51e3aba5df9b2ed193 /user/sdl_ttf | |
parent | 2031d871d51fce1698448e13340a3c2cfac972ed (diff) | |
download | packages-320f8ed1aa60d6028f3deefbd9fb5d017eca9bc9.tar.gz packages-320f8ed1aa60d6028f3deefbd9fb5d017eca9bc9.tar.bz2 packages-320f8ed1aa60d6028f3deefbd9fb5d017eca9bc9.tar.xz packages-320f8ed1aa60d6028f3deefbd9fb5d017eca9bc9.zip |
user/sdl_ttf: new package
Diffstat (limited to 'user/sdl_ttf')
-rw-r--r-- | user/sdl_ttf/APKBUILD | 45 |
1 files changed, 45 insertions, 0 deletions
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 <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +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" |