updated on Thu Jan 26 00:18:00 UTC 2012
[aur-mirror.git] / scum-of-the-universe / PKGBUILD
blob277735c39f778d2eaa79385a5dbe447922b9fddb
1 # Contributor: xnitropl <xnitropl at gmail dot com>
2 pkgname=scum-of-the-universe
3 _pkgname=sotu
4 pkgver=1.0
5 pkgrel=2
6 pkgdesc="A space trading game that combines two genres: arcade and strategy."
7 url="http://www.guacosoft.com/scum/"
8 arch=('i686')
9 license=('GPL')
10 depends=('zlib' 'libpng' 'sdl' 'sdl_mixer' 'sdl_image' 'libstdc++5' 'libgl')
11 source=(http://www.guacosoft.com/scum/scum-1.0-i386.tar.gz
12         $_pkgname.sh
13         $_pkgname.desktop)
14 md5sums=('d9d93ce2b73c7c0e313e0617feaa3ed0'
15          '249b1530733b0e35f4516a83f0b10432'
16          '6dba1caaca96a244523dcf4d26a6ea48')
18 build() {
19   install -d $pkgdir{/opt/$_pkgname,/usr/bin}
21   cp -r $srcdir/scum-1.0-i386/* $pkgdir/opt/$_pkgname
22   chmod 755 $pkgdir/opt/$_pkgname/bin/$_pkgname
24   install -D -m755 $startdir/$_pkgname.sh $pkgdir/usr/bin/$_pkgname
25   install -D -m644 $startdir/$_pkgname.desktop $pkgdir/usr/share/applications/$_pkgname.desktop
27 # vim:set ts=2 sw=2 et: