updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / legesmotus / PKGBUILD
bloba889358dfd1c57858642da6d5fe456d2141cf4d5
1 # Maintainer: Gadget3000 <gadget3000 at msn dot om>
2 # Contributor: Chris Baker <baker.chris.3@gmail.com>
3 pkgname=legesmotus
4 pkgver=0.4.0
5 pkgrel=1
6 pkgdesc="A team-based, networked, 2D shooter set in zero-gravity"
7 arch=('i686' 'x86_64')
8 url="http://legesmotus.endrift.com/index.php/Main_Page"
9 license=('GPL2')
10 depends=('sdl' 'sdl_image' 'sdl_ttf' 'sdl_mixer' 'libgl' 'hicolor-icon-theme' 'gcc-libs')
11 install=(legesmotus.install)
12 source=(http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz
13         legesmotus.desktop)
14 md5sums=('9ce454f8482942fd5dd0d9209add53b9'
15          '0c152db8f732052f41c4a27d06fccd0a')
17 build() {
18   cd $srcdir/$pkgname-$pkgver
19   ./configure --prefix=/usr --mandir=/usr/share/man || return 1
20   make || return 1
21   make DESTDIR=$pkgdir/ install || return 1
22   rm $pkgdir/usr/share/applications/mimeinfo.cache
23   install -D -m644 data/sprites/blue_head256.png $pkgdir/usr/share/pixmaps/legesmotus.png
24   install -D -m644 $srcdir/legesmotus.desktop $pkgdir/usr/share/applications/legesmotus.desktop