mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
28 lines
972 B
Bash
28 lines
972 B
Bash
# Maintainer: Allan McRae <mcrae_allan@hotmail.com>
|
|
|
|
pkgname=critter
|
|
_pkgname=CriticalMass
|
|
pkgver=1.0.2
|
|
pkgrel=3
|
|
pkgdesc="Critical Mass (aka Critter) is an SDL/OpenGL space shoot'em up game"
|
|
arch=('i686' 'x86_64')
|
|
url="http://criticalmass.sourceforge.net/critter.php"
|
|
license=('GPL')
|
|
depends=('sdl_image' 'sdl_mixer' 'mesa')
|
|
source=(http://downloads.sourceforge.net/sourceforge/criticalmass/$_pkgname-$pkgver.tar.bz2
|
|
critter-gcc43.patch
|
|
critter.desktop)
|
|
md5sums=('e2aff114bffa717fb79c82e1dc473ebe'
|
|
'e936920acce56bfa3b0123ca8b1193a6'
|
|
'98c17809aed964c445adad09827035df')
|
|
|
|
build() {
|
|
cd $startdir/src/$_pkgname-$pkgver
|
|
patch -Np1 -i ../critter-gcc43.patch
|
|
./configure --prefix=/usr --mandir=/usr/share/man
|
|
make || return 1
|
|
make DESTDIR=$startdir/pkg install
|
|
install -Dm644 critter.png ${startdir}/pkg/usr/share/pixmaps/critter.png
|
|
install -Dm644 ../critter.desktop \
|
|
${startdir}/pkg/usr/share/applications/critter.desktop
|
|
}
|