db-move: moved gnome-weather from [staging] to [testing] (any)
[arch-packages.git] / sdl2_gfx / trunk / PKGBUILD
blobab4a93f3015fbfe2cc89f43470bc5454f43e1057
1 # Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
2 # Contributor: Jameson Pugh <imntreal@gmail.com>
4 pkgname=sdl2_gfx
5 pkgver=1.0.4
6 pkgrel=3
7 epoch=1
8 pkgdesc="SDL graphics drawing primitives and other support functions (Version 2)"
9 url="http://www.ferzkopp.net/wordpress/2016/01/02/sdl_gfx-sdl2_gfx/"
10 arch=(x86_64)
11 license=(zlib)
12 depends=(sdl2)
13 source=("https://www.ferzkopp.net/Software/SDL2_gfx/SDL2_gfx-${pkgver}.tar.gz")
14 sha512sums=('81a100d3c8c3a7c6bd37a23f1290ff10685f8e62fbecd83b0086aae4edc721483e2153cd4219fbd9168f115eea0ea6b25f9be375faf5761f0babdfb1b52fe482')
16 build() {
17   cd SDL2_gfx-$pkgver
18   ./configure --prefix=/usr
19   make
22 package() {
23   cd SDL2_gfx-$pkgver
24   make DESTDIR="$pkgdir" install
25   install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"