extra/sdl2_gfx to 1.0.3-1

This commit is contained in:
Kevin Mihelich 2017-07-19 19:52:05 +00:00
parent 199f25f127
commit 7b490a02c0

View file

@ -1,3 +1,4 @@
# $Id$
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: Jameson Pugh <imntreal@gmail.com>
@ -5,30 +6,25 @@
# - disable mmx
pkgname=sdl2_gfx
epoch=1
pkgver=1.0.1
pkgver=1.0.3
pkgrel=1
pkgdesc="SDL Graphic Primitives (Version 2)"
arch=('i686' 'x86_64')
url="http://www.ferzkopp.net/joomla/software-mainmenu-14/4-ferzkopps-linux-software/19-sdlgfx"
license=('zlib')
depends=('sdl2')
makedepends=('svn')
options=(!libtool)
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)
source=("http://www.ferzkopp.net/Software/SDL2_gfx/SDL2_gfx-${pkgver}.tar.gz")
md5sums=('9c96816618e3e086d885d1d214e59d87')
sha512sums=('4efb48501d635492efcfe06b1d4691911ce58ffc34e3b622f2124ac6d8aa6994196ffb52f16ced4325db3ef6d93719516deab2bcf1ce934df9af06c2fecbdce5')
build() {
cd "${srcdir}/SDL2_gfx-${pkgver}"
./autogen.sh
./configure --disable-static --prefix=/usr --disable-mmx
cd SDL2_gfx-$pkgver
./configure --prefix=/usr --disable-mmx
make
}
package() {
cd "${srcdir}/SDL2_gfx-${pkgver}"
make DESTDIR="${pkgdir}/" install
cd SDL2_gfx-$pkgver
make DESTDIR="$pkgdir" install
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}