archrelease: copy trunk to extra-x86_64
[arch-packages.git] / sdl2_ttf / repos / extra-x86_64 / PKGBUILD
blob7036018e70f9b220963bcb498b265b15d95edfb4
1 # Maintainer: Sven-Hendrik Haase <svenstaro@archlinux.org>
3 pkgname=sdl2_ttf
4 pkgver=2.20.2
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="https://github.com/libsdl-org/SDL_ttf"
9 license=('MIT')
10 depends=('sdl2' 'freetype2')
11 source=("https://github.com/libsdl-org/SDL_ttf/releases/download/release-${pkgver}/SDL2_ttf-${pkgver}.tar.gz"{,.sig})
12 sha512sums=('b54e93b100712e3764cd80d4e4b16cd4c2a6853620f675941a4214320b0ee29a583d57ad56cd5fdb5c7a32d7615cbf43bc3fa55337b01623cee7219ebb43667c'
13             'SKIP')
14 validpgpkeys=('1528635D8053A57F77D1E08630A59377A7763BE6')
16 prepare() {
17   cd SDL2_ttf-${pkgver}
19   autoreconf -vi
22 build() {
23   cd "${srcdir}/SDL2_ttf-${pkgver}/"
25   ./configure --disable-static --prefix=/usr
26   make
29 package() {
30   cd "${srcdir}/SDL2_ttf-${pkgver}/"
32   make DESTDIR="${pkgdir}/" install
33   install -Dm644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"