archrelease: copy trunk to extra-x86_64
[arch-packages.git] / sdl2_ttf / trunk / PKGBUILD
blob459547c808da84d516407c428b3112f3d6be44d1
1 # Maintainer: Sven-Hendrik Haase <svenstaro@archlinux.org>
3 pkgname=sdl2_ttf
4 pkgver=2.0.18
5 pkgrel=1
6 pkgdesc="A library that allows you to use TrueType fonts in your SDL applications (Version 2)"
7 arch=('x86_64')
8 url="http://www.libsdl.org/projects/SDL_ttf"
9 license=('MIT')
10 depends=('sdl2' 'freetype2')
11 source=("https://www.libsdl.org/projects/SDL_ttf/release/SDL2_ttf-${pkgver}.tar.gz")
12 sha512sums=('9a211c07d4180fe3fb2f7614e907d1002ddf3bb77b57f62116f22dc29a6043f091deb6a8113656d26a44d2f06b9abcc372aa3e0761500fcf47b455406973a1c7')
14 prepare() {
15   cd SDL2_ttf-${pkgver}
17   autoreconf -vi
20 build() {
21   cd "${srcdir}/SDL2_ttf-${pkgver}/"
23   ./configure --disable-static --prefix=/usr
24   make
27 package() {
28   cd "${srcdir}/SDL2_ttf-${pkgver}/"
30   make DESTDIR="${pkgdir}/" install
31   install -Dm644 COPYING.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"