summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5cc2fb09fd0e276778f40a3e076fd7a449300e3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Maintainer: Spike29 <leguen.yannick@gmail.com>
# Contributor: erm67@yahoo.it

pkgname='raceintospace'
pkgver='1.1'
pkgrel='4'
pkgdesc='The computer version of the Liftoff! board game by Fritz Bronner'
arch=('i686' 'x86_64')
url='http://www.raceintospace.org/'
license=('GPL2')
depends=('sdl' 'libvorbis' 'libtheora')
source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"
        "$pkgname.desktop")
md5sums=('898fe3ba5c43f6e7b857f5df0093f7a6'
         '11ae024ebc4cf38b5753e351f99aee0d')

build() {
	cd $srcdir/$pkgname-$pkgver
	./configure --prefix=/usr
	make
}

package()
{
	cd $srcdir/$pkgname-$pkgver
	make DESTDIR=$pkgdir install

	# Install menu shortcut
	install -Dm644 os_linux/$pkgname.xpm $pkgdir/usr/share/pixmaps/$pkgname.xpm
	install -Dm644 ../$pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop
}