diff options
author | Daniel Sabogal <dsabogalcc@gmail.com> | 2016-11-08 12:54:36 -0500 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-11-15 20:10:03 +0000 |
commit | 27d7798cfda44fee3a21d75e303627a0efbf6ace (patch) | |
tree | a2ee0173353303fd2e70fb12a44a9bce0f2aff52 /main/sdl2_ttf | |
parent | d316b30b71530ec2ab5272f3f022f8de83be6c5c (diff) | |
download | aports-27d7798cfda44fee3a21d75e303627a0efbf6ace.tar.bz2 aports-27d7798cfda44fee3a21d75e303627a0efbf6ace.tar.xz |
main/sdl2_ttf: move from testing
Diffstat (limited to 'main/sdl2_ttf')
-rw-r--r-- | main/sdl2_ttf/APKBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/main/sdl2_ttf/APKBUILD b/main/sdl2_ttf/APKBUILD new file mode 100644 index 0000000000..96cd7eddda --- /dev/null +++ b/main/sdl2_ttf/APKBUILD @@ -0,0 +1,36 @@ +# Contributor: August Klein <amatcoder@gmail.com> +# Maintainer: August Klein <amatcoder@gmail.com> +pkgname=sdl2_ttf +pkgver=2.0.14 +pkgrel=0 +_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="" +depends_dev="freetype-dev sdl2-dev" +makedepends="$depends_dev" +subpackages="$pkgname-dev" +source="http://www.libsdl.org/projects/SDL_ttf/release/$_pkgname-$pkgver.tar.gz" + +builddir="$srcdir"/$_pkgname-$pkgver + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 + make || return 1 +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install || return 1 +} + +md5sums="e53c05e1e7f1382c316afd6c763388b1 SDL2_ttf-2.0.14.tar.gz" +sha256sums="34db5e20bcf64e7071fe9ae25acaa7d72bdc4f11ab3ce59acc768ab62fe39276 SDL2_ttf-2.0.14.tar.gz" +sha512sums="4db817573fd216e26180f4c401cc869ce407589a461032fd7167dc612d35e038cca1ab67be7909b6b49c741581a68125ab46362ad8e3c0a2cdd39624ad847099 SDL2_ttf-2.0.14.tar.gz" |