summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8c89c6a6937db695a4e96493d636772987f86f4b (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
32
33
34
# Contributor: Christoph Zeiler <rabyte*gmail>
# Contributor: dale <dale@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
# Contributor: Helder Correia <helder.correia@netcabo.pt>
# Maintainer: SanskritFritz (gmail)

pkgname=toppler
pkgver=1.1.6
pkgrel=3
pkgdesc='A reimplementation of the classic jump & run game "Nebulus"'
arch=('i686' 'x86_64')
url="http://$pkgname.sourceforge.net/"
license=('GPL')
depends=('gcc-libs' 'sdl_mixer' 'zlib')
source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"
        "$pkgname.desktop")

build() {
  cd "$pkgname-$pkgver"

  ./configure --prefix=/usr --localstatedir=/usr/share
  make

#  cd "$pkgdir"
#  chgrp root usr/bin/$pkgname
}

package() {
  cd "$pkgname-$pkgver"
  make DESTDIR="$pkgdir" install
  install -Dm644 "$srcdir/$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
}
md5sums=('9df66bf36eea79553019baf768b36cdd'
         '95f97271fe1f629c396d20bb4d21b924')