diff options
author | root <root@rshg054.dnsready.net> | 2013-08-09 01:49:58 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-08-09 01:49:58 -0700 |
commit | 7978ce3c736ef00274d5956c378df572315702bd (patch) | |
tree | d7ad3d3505e9a534455353724fe110d23813e67e /extra/sdl2_gfx/PKGBUILD | |
parent | d65d13a9fb3099310bb7736be11ee0724dde2dc7 (diff) |
Fri Aug 9 01:49:55 PDT 2013
Diffstat (limited to 'extra/sdl2_gfx/PKGBUILD')
-rw-r--r-- | extra/sdl2_gfx/PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/extra/sdl2_gfx/PKGBUILD b/extra/sdl2_gfx/PKGBUILD new file mode 100644 index 000000000..b302c886a --- /dev/null +++ b/extra/sdl2_gfx/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> +# Contributor: Jameson Pugh <imntreal@gmail.com> + +pkgname=sdl2_gfx +pkgver=5 +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) +source=("sdl2-gfx::svn://svn.code.sf.net/p/sdl2gfx/code/trunk#revision=$pkgver") +md5sums=('SKIP') + +build() { + cd "${srcdir}/sdl2-gfx" + + ./autogen.sh + ./configure --disable-static --prefix=/usr + make +} + +package() { + cd "${srcdir}/sdl2-gfx" + make DESTDIR="${pkgdir}/" install + + install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} |