PKGBUILDs/extra/sdl2_gfx/PKGBUILD

35 lines
866 B
Bash
Raw Normal View History

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
2013-11-06 14:39:18 +00:00
epoch=1
pkgver=1.0.0
2013-10-26 22:09:04 +00:00
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)
2013-11-06 14:39:18 +00:00
source=("http://www.ferzkopp.net/Software/SDL2_gfx/SDL2_gfx-${pkgver}.tar.gz")
md5sums=('f008cc117cb901aec6bf5c2f0b11f7ea')
2013-10-26 22:09:04 +00:00
build() {
2013-11-06 14:39:18 +00:00
cd "${srcdir}/SDL2_gfx-${pkgver}"
2013-10-26 22:09:04 +00:00
./autogen.sh
./configure --disable-static --prefix=/usr --disable-mmx
make
}
package() {
2013-11-06 14:39:18 +00:00
cd "${srcdir}/SDL2_gfx-${pkgver}"
2013-10-26 22:09:04 +00:00
make DESTDIR="${pkgdir}/" install
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}