aboutsummaryrefslogtreecommitdiffstats
path: root/testing/sdl2_ttf
diff options
context:
space:
mode:
authorAmatCoder <amatcoder@gmail.com>2016-05-31 02:43:17 +0000
committerJakub Jirutka <jakub@jirutka.cz>2016-06-01 23:14:36 +0200
commit5be7530670484a628f63cb9a6aaae0344e4305e8 (patch)
treea2a5f29921ea141d00b997f46be9dadf126d5dd4 /testing/sdl2_ttf
parentdce6e5fc1dd3df5e327e6080c79e5e555735929d (diff)
downloadaports-5be7530670484a628f63cb9a6aaae0344e4305e8.tar.bz2
aports-5be7530670484a628f63cb9a6aaae0344e4305e8.tar.xz
testing/sdl2_ttf: upgrade to 2.0.14
Diffstat (limited to 'testing/sdl2_ttf')
-rw-r--r--testing/sdl2_ttf/APKBUILD25
1 files changed, 7 insertions, 18 deletions
diff --git a/testing/sdl2_ttf/APKBUILD b/testing/sdl2_ttf/APKBUILD
index 4170fab5d2..96cd7eddda 100644
--- a/testing/sdl2_ttf/APKBUILD
+++ b/testing/sdl2_ttf/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: August Klein <amatcoder@gmail.com>
# Maintainer: August Klein <amatcoder@gmail.com>
pkgname=sdl2_ttf
-pkgver=2.0.12
+pkgver=2.0.14
pkgrel=0
_pkgname=SDL2_ttf
pkgdesc="A library which allows you to use TrueType fonts in your SDL applications"
@@ -11,24 +11,13 @@ license="zlib"
depends=""
depends_dev="freetype-dev sdl2-dev"
makedepends="$depends_dev"
-install=""
subpackages="$pkgname-dev"
source="http://www.libsdl.org/projects/SDL_ttf/release/$_pkgname-$pkgver.tar.gz"
-_builddir="$srcdir"/$_pkgname-$pkgver
-prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
- update_config_sub
-}
+builddir="$srcdir"/$_pkgname-$pkgver
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -38,10 +27,10 @@ build() {
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
}
-md5sums="79787216b56cb4707f39d538f2225e00 SDL2_ttf-2.0.12.tar.gz"
-sha256sums="8728605443ea1cca5cad501dc34dc0cb15135d1e575551da6d151d213d356f6e SDL2_ttf-2.0.12.tar.gz"
-sha512sums="2dfd7d9a87d86b0446e52c78dcf4c45dba747256ff9cb4cc010818eac725410f5a1a781e6695ca0bcead756c70519d8d5b4df6c1b2935085e0356d9b4d7844fa SDL2_ttf-2.0.12.tar.gz"
+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"