diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/rocksndiamonds |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/rocksndiamonds')
-rw-r--r-- | community/rocksndiamonds/PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/community/rocksndiamonds/PKGBUILD b/community/rocksndiamonds/PKGBUILD new file mode 100644 index 000000000..6258e1065 --- /dev/null +++ b/community/rocksndiamonds/PKGBUILD @@ -0,0 +1,30 @@ +# $Id: PKGBUILD 25476 2010-09-05 11:20:27Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# contributor: Jacek Poplawski <jacekpoplawski@gmail.com> + +pkgname=rocksndiamonds +pkgver=3.3.0.1 +pkgrel=1 +pkgdesc="game similiar to Boulderdash with lots of levels" +arch=(i686 x86_64) +url="http://www.artsoft.org/rocksndiamonds/" +license=('GPL') +depends=('sdl' 'sdl_image' 'sdl_mixer' 'sdl_net' 'smpeg' 'rocksndiamonds-data') +makedepends=('unzip' 'p7zip') +options=(force) +source=(http://www.artsoft.org/RELEASES/unix/rocksndiamonds/rocksndiamonds-$pkgver.tar.gz) +md5sums=('813ced99d54f89db7c593c518d197d18') + +build() { + cd $srcdir + + # main + cd $srcdir/rocksndiamonds-$pkgver + make clean + make RO_GAME_DIR=/usr/share/rocksndiamonds RW_GAME_DIR=/usr/share/rocksndiamonds || return 1 + + install -d $pkgdir/usr/bin && \ + install -d $pkgdir/usr/share/man/man1 && \ + cp $srcdir/rocksndiamonds-$pkgver/rocksndiamonds $pkgdir/usr/bin/rocksndiamonds && \ + cp $srcdir/rocksndiamonds-$pkgver/rocksndiamonds.1 $pkgdir/usr/share/man/man1 +} |