From 8fbc0076a4827ddc6af92e0b9daa4c4c31450808 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 19 Jul 2013 01:10:32 -0700 Subject: Fri Jul 19 01:09:18 PDT 2013 --- community/rocksndiamonds/PKGBUILD | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 community/rocksndiamonds/PKGBUILD (limited to 'community/rocksndiamonds/PKGBUILD') diff --git a/community/rocksndiamonds/PKGBUILD b/community/rocksndiamonds/PKGBUILD new file mode 100644 index 000000000..b7a265456 --- /dev/null +++ b/community/rocksndiamonds/PKGBUILD @@ -0,0 +1,34 @@ +# $Id: PKGBUILD 78773 2012-10-24 12:38:16Z spupykin $ +# Maintainer: Sergej Pupykin +# Contributor: Jacek Poplawski + +pkgname=rocksndiamonds +pkgver=3.3.0.1 +pkgrel=3 +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') +makedepends=('unzip' 'p7zip') +source=(http://www.artsoft.org/RELEASES/unix/rocksndiamonds/rocksndiamonds-$pkgver.tar.gz + rocksndiamonds.desktop) +md5sums=('813ced99d54f89db7c593c518d197d18' + '18a3541db4d71feb0ad3b50ea4006738') + +build() { + depends=('sdl' 'sdl_image' 'sdl_mixer' 'sdl_net' 'smpeg' 'rocksndiamonds-data') + cd $srcdir + + # main + cd $srcdir/rocksndiamonds-$pkgver + make clean + make RO_GAME_DIR=/usr/share/rocksndiamonds RW_GAME_DIR=/usr/share/rocksndiamonds + + 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 + + install -Dm0644 $srcdir/rocksndiamonds.desktop $pkgdir/usr/share/applications/rocksndiamonds.desktop +} -- cgit v1.2.3-54-g00ecf