summaryrefslogtreecommitdiff
path: root/extra/sdl2_ttf/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/sdl2_ttf/PKGBUILD')
-rw-r--r--extra/sdl2_ttf/PKGBUILD12
1 files changed, 5 insertions, 7 deletions
diff --git a/extra/sdl2_ttf/PKGBUILD b/extra/sdl2_ttf/PKGBUILD
index fe743318c..5f7bcc8eb 100644
--- a/extra/sdl2_ttf/PKGBUILD
+++ b/extra/sdl2_ttf/PKGBUILD
@@ -1,23 +1,22 @@
+# $Id: PKGBUILD 197553 2013-10-26 19:51:21Z heftig $
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
pkgname=sdl2_ttf
pkgver=2.0.12
-pkgrel=1
+pkgrel=2
pkgdesc="A library that allows you to use TrueType fonts in your SDL applications (Version 2)"
arch=('i686' 'x86_64')
-url="http://www.libsdl.org"
+url="http://www.libsdl.org/projects/SDL_ttf"
license=('MIT')
depends=('sdl2' 'freetype2')
makedepends=('cmake')
-provides=(sdl2_ttf)
options=(!libtool)
-source=("http://www.libsdl.org/tmp/SDL_ttf/release/SDL2_ttf-${pkgver}.tar.gz")
-md5sums=('a0925e117cc5f0fb7cf2a66c7968c117')
+source=("$url/release/SDL2_ttf-${pkgver}.tar.gz")
+md5sums=('79787216b56cb4707f39d538f2225e00')
build() {
cd "${srcdir}/SDL2_ttf-${pkgver}/"
- ./autogen.sh
./configure --disable-static --prefix=/usr
make
}
@@ -26,6 +25,5 @@ package() {
cd "${srcdir}/SDL2_ttf-${pkgver}/"
make DESTDIR="${pkgdir}/" install
-
install -Dm644 COPYING.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}