updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / sdl_draw / PKGBUILD
blob5056a7497d3f02d39dcbe0848adc7175c320ee38
1 #packager: miga@migalin.net
2 pkgname=sdl_draw
3 pkg_arkname=SDL_draw
4 pkgver=1.2.13
5 pkgrel=1
6 pkgdesc="SDL_draw is a basic primitive drawing library based on SDL (Simple DirectMedia Layer)"
7 arch=(i686 x86_64)
8 url="http://sourceforge.net/projects/sdl-draw/"
9 license=('GPL' 'LGPL')
10 depends=('sdl')
11 install=$pkgname.install
12 source=(http://downloads.sourceforge.net/project/sdl-draw/$pkg_arkname/$pkgver/$pkg_arkname-$pkgver.tar.gz)
13 md5sums=('3f3e6985217e98d92cf5900a5d9f6444')
15 build() {
16         cd $srcdir/$pkg_arkname-$pkgver
17         ./configure --prefix=/usr --includedir=/usr/include/SDL || return 1
18         make || return 1
19         make prefix=$pkgdir/usr mandir=$pkgdir/usr/share/man install || return 1
20         install -D -m644 $srcdir/$pkg_arkname-$pkgver/include/SDL_draw.h $pkgdir/usr/include/SDL/SDL_draw.h