updated on Wed Jan 11 00:07:16 UTC 2012
[aur-mirror.git] / xscorch / PKGBUILD
blob6f457d992b7c3c4d3fcfccfaba7c35e9295c4b70
1 # Maintainer: Gadget3000 <gadget3000 at msn dot com>
2 # Contributor: arjan <arjan@archlinux.org>
3 # Contributor: Max Pray a.k.a. Synthead <synthead@gmail.com>
5 pkgname=xscorch
6 pkgver=0.2.1
7 pkgrel=1
8 pkgdesc="A clone of the classic DOS game Scorched Earth"
9 depends=('gtk2' 'libmikmod')
10 arch=('i686' 'x86_64')
11 license=('GPL2')
12 url="http://www.xscorch.org/"
13 source=(http://www.xscorch.org/releases/$pkgname-$pkgver.tar.gz
14           xscorch.desktop)
15 md5sums=('9c3a08cc97242ff9a1fad010dc40d9a7'
16          '31b8021889053c13058b13c79af87d48')
18 build() {
19   cd $srcdir/$pkgname-$pkgver
20   ./configure --prefix=/usr
21   make || return 1
22   make DESTDIR=$pkgdir install
24   install -Dm 644 $srcdir/xscorch.desktop $pkgdir/usr/share/applications/xscorch.desktop
25   mkdir -p $pkgdir/usr/share/pixmaps
26   ln -s /usr/share/xscorch/images/xscorch-icon.xpm $pkgdir/usr/share/pixmaps/xscorch-icon.xpm
27   mv $pkgdir/usr/man $pkgdir/usr/share/