PKGBUILDs/extra/sdl2_gfx/PKGBUILD

31 lines
871 B
Bash
Raw Normal View History

2017-07-19 19:52:05 +00:00
# $Id$
2013-10-26 22:09:04 +00:00
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: Jameson Pugh <imntreal@gmail.com>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - disable mmx
pkgname=sdl2_gfx
2017-07-19 19:52:05 +00:00
pkgver=1.0.3
2013-10-26 22:09:04 +00:00
pkgrel=1
2017-07-19 19:52:05 +00:00
epoch=1
pkgdesc="SDL graphics drawing primitives and other support functions (Version 2)"
url="http://www.ferzkopp.net/wordpress/2016/01/02/sdl_gfx-sdl2_gfx/"
arch=(i686 x86_64)
license=(zlib)
depends=(sdl2)
2013-11-06 14:39:18 +00:00
source=("http://www.ferzkopp.net/Software/SDL2_gfx/SDL2_gfx-${pkgver}.tar.gz")
2017-07-19 19:52:05 +00:00
sha512sums=('4efb48501d635492efcfe06b1d4691911ce58ffc34e3b622f2124ac6d8aa6994196ffb52f16ced4325db3ef6d93719516deab2bcf1ce934df9af06c2fecbdce5')
2013-10-26 22:09:04 +00:00
build() {
2017-07-19 19:52:05 +00:00
cd SDL2_gfx-$pkgver
./configure --prefix=/usr --disable-mmx
2013-10-26 22:09:04 +00:00
make
}
package() {
2017-07-19 19:52:05 +00:00
cd SDL2_gfx-$pkgver
make DESTDIR="$pkgdir" install
2013-10-26 22:09:04 +00:00
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}