1 # Maintainer: Jynko <jayson at it-linux dot com>
2 # Contributor: Callan Barrett <wizzomafizzo@gmail.com>
8 pkgdesc="SDL port of an old DOS game called Gladiator"
10 url="http://snowstorm.sourceforge.net/"
13 source=(http://sourceforge.net/projects/snowstorm/files/OpenGlad/Openglad-0.98/$pkgname-$pkgver.tar.gz/download
18 md5sums=('e211c0ba876a75215dd99f7925783ea4'
19 '2783d3a5742957e42e3ca79f9161658b'
20 '57e172d99a2ed4d2fe85b05707fe90eb'
21 '43ea59144fe0d3a9af1d6ad8a2b63a1f')
25 install -Dm644 openglad_48x48.png $pkgdir/usr/share/pixmaps/openglad_48x48.png
26 install -Dm644 openglad.desktop $pkgdir/usr/share/applications/openglad.desktop
27 install -Dm644 $srcdir/$pkgname-$pkgver/COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
29 cd $srcdir/$pkgname-$pkgver
30 patch -p0 < ../../cfix.patch
31 ./configure --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/openglad
33 make DESTDIR=$pkgdir install