Commit 5be75306 authored by August Klein's avatar August Klein Committed by Jakub Jirutka
Browse files

testing/sdl2_ttf: upgrade to 2.0.14

parent dce6e5fc
# 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"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment