[Lunar-commits] <moonbase> angband: version bumped and build improved

Michael 'v4hn' Goerner v4hn at lunar-linux.org
Wed Jun 6 23:00:31 CEST 2012


commit 885e66e88f415d119bf301d47c4469feaa4f3231
Author: Michael 'v4hn' Goerner <v4hn at lunar-linux.org>
Date:   Wed Jun 6 22:10:26 2012 +0200

    angband: version bumped and build improved
---
 games/angband/BUILD   |   20 +++++++++++++++++---
 games/angband/DETAILS |    6 +++---
 2 files changed, 20 insertions(+), 6 deletions(-)

diff --git a/games/angband/BUILD b/games/angband/BUILD
index 00a07be..534d473 100644
--- a/games/angband/BUILD
+++ b/games/angband/BUILD
@@ -1,7 +1,21 @@
 (
 
-  sedit "s:/games/:/:" configure
-  OPTS+=" --with-setgid=games"
-  default_game_build
+  sedit "s:/games/:/:" configure &&
+
+  OPTS+=" --with-setgid=games --with-configpath=/etc/${MODULE}/ --with-varpath=/var/games/${MODULE}/"   &&
+
+  default_game_build  &&
+
+  if in_depends "$MODULE" "SDL"; then
+     install -Dm0644 lib/xtra/icon/angband-sdl.desktop /usr/share/applications/
+  fi &&
+
+  if in_depends "$MODULE" "libX11"; then
+     install -Dm0644 lib/xtra/icon/angband-x11.desktop /usr/share/applications/
+  fi &&
+
+  if in_depends "$MODULE" "glade2"; then
+     install -Dm0644 lib/xtra/icon/angband-gtk.desktop /usr/share/applications/
+  fi
 
 ) > $C_FIFO 2>&1
diff --git a/games/angband/DETAILS b/games/angband/DETAILS
index 2ea630f..feba8a2 100644
--- a/games/angband/DETAILS
+++ b/games/angband/DETAILS
@@ -1,12 +1,12 @@
           MODULE=angband
-         VERSION=3.3.0
+         VERSION=3.3.2
           SOURCE=$MODULE-v$VERSION.tar.gz
       SOURCE_URL=http://rephial.org/downloads/3.3/
 SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE-v$VERSION
-      SOURCE_VFY=sha1:420dd620429a6bb04c0640716941b52788c38c66
+      SOURCE_VFY=sha1:2944dc153fe5ab585c16502f8a5da4dbbdca4b21
         WEB_SITE=http://www.rephial.org/
          ENTERED=20050524
-         UPDATED=20110811
+         UPDATED=20120606
            SHORT="A classic rogue-like game based on the books of JRR Tolkien"
 
 cat << EOF


More information about the Lunar-commits mailing list