[arch-commits] Commit in nethack/repos (8 files)

Felix Yan fyan at nymeria.archlinux.org
Sat Jul 5 02:54:37 UTC 2014


    Date: Saturday, July 5, 2014 @ 04:54:37
  Author: fyan
Revision: 114982

archrelease: copy trunk to community-i686, community-x86_64

Added:
  nethack/repos/community-i686/PKGBUILD
    (from rev 114981, nethack/trunk/PKGBUILD)
  nethack/repos/community-i686/nethack.install
    (from rev 114981, nethack/trunk/nethack.install)
  nethack/repos/community-x86_64/PKGBUILD
    (from rev 114981, nethack/trunk/PKGBUILD)
  nethack/repos/community-x86_64/nethack.install
    (from rev 114981, nethack/trunk/nethack.install)
Deleted:
  nethack/repos/community-i686/PKGBUILD
  nethack/repos/community-i686/nethack.install
  nethack/repos/community-x86_64/PKGBUILD
  nethack/repos/community-x86_64/nethack.install

----------------------------------+
 /PKGBUILD                        |  134 +++++++++++++++++++++++++++++++++++++
 /nethack.install                 |   24 ++++++
 community-i686/PKGBUILD          |   67 ------------------
 community-i686/nethack.install   |   12 ---
 community-x86_64/PKGBUILD        |   67 ------------------
 community-x86_64/nethack.install |   12 ---
 6 files changed, 158 insertions(+), 158 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2014-07-05 02:54:03 UTC (rev 114981)
+++ community-i686/PKGBUILD	2014-07-05 02:54:37 UTC (rev 114982)
@@ -1,67 +0,0 @@
-# $Id$
-# Maintainer : schuay <jakob.gruber at gmail.com>
-# Contributor : kevin <kevin at archlinux.org>
-# Contributor : Christian Schmidt <mucknert at gmx.net>
-# Contributor : Markus Meissner <markus at meissna.de>
-# Contributor : Nick Erdmann <erdmann at date.upb.de>
-
-pkgname=nethack
-pkgver=3.4.3
-pkgrel=7
-pkgdesc='A single player dungeon exploration game'
-arch=('i686' 'x86_64')
-url="http://www.nethack.org/index.html"
-license=('custom')
-depends=('ncurses' 'gzip')
-install=nethack.install
-source=("http://downloads.sourceforge.net/$pkgname/$pkgname-${pkgver//.}-src.tgz")
-md5sums=('21479c95990eefe7650df582426457f9')
-
-build(){
-  cd $srcdir/$pkgname-$pkgver/
-  sh sys/unix/setup.sh
-
-  sed -e '/define HACKDIR/ s|/usr/games/lib/nethackdir|/var/games/nethack/|' \
-      -e "/^#define COMPRESS\s/ s|/usr/bin/compress|$(which gzip)|" \
-      -e '/^#define COMPRESS_EXTENSION/ s|".Z"|".gz"|' \
-      -e 's|^/\* \(#define DLB\) \*/|\1|' -i include/config.h
-
-  sed -e 's|^/\* \(#define LINUX\) \*/|\1|' \
-      -e 's|^/\* \(#define TIMED_DELAY\) \*/|\1|' -i include/unixconf.h
-
-  sed -e 's|^# \(WINTTYLIB = -lncurses\)|\1|' \
-      -e 's|^WINTTYLIB = -ltermlib|#&|' -i src/Makefile
-
-  # we are setting up for setgid games, so modify all necessary permissions
-  # to allow full access for groups
-
-  sed -e '/^GAMEDIR\s*=/ s|/games/.*$|/var/games/$(GAME)|' \
-      -e '/^GAMEUID\s*=/ s|games|root|' \
-      -e '/^GAMEGRP\s*=/ s|bin|games|' \
-      -e '/^GAMEPERM\s*=/ s|04755|02755|' \
-      -e '/^FILEPERM\s*=/ s|0644|0664|' \
-      -e '/^DIRPERM\s*=/ s|0755|0775|' \
-      -e '/^SHELLDIR\s*=/ s|/games|/usr/bin|' -i Makefile
-
-  sed -e "/^MANDIR\s*=/s|/usr/man/man6|$pkgdir/usr/share/man/man6|" -i doc/Makefile
-
-  make
-}
-  
-package() {
-  cd $srcdir/$pkgname-$pkgver/
-
-  install -dm755 $pkgdir/usr/share/{man/man6,doc/nethack}
-  install -dm775 $pkgdir/var/games/
-  make PREFIX=$pkgdir install manpages
-  sed -e "s|HACKDIR=$pkgdir/|HACKDIR=/|" \
-      -e 's|HACK=$HACKDIR|HACK=/usr/lib/nethack|' \
-      -i $pkgdir/usr/bin/nethack
-
-  install -dm755 $pkgdir/usr/lib/nethack
-  mv $pkgdir/var/games/nethack/{nethack,recover} $pkgdir/usr/lib/nethack/
-
-  install -Dm644 doc/Guidebook.txt $pkgdir/usr/share/doc/nethack/Guidebook.txt
-      
-  install -Dm644 dat/license $pkgdir/usr/share/licenses/$pkgname/LICENSE
-}

Copied: nethack/repos/community-i686/PKGBUILD (from rev 114981, nethack/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2014-07-05 02:54:37 UTC (rev 114982)
@@ -0,0 +1,67 @@
+# $Id$
+# Maintainer : schuay <jakob.gruber at gmail.com>
+# Contributor : kevin <kevin at archlinux.org>
+# Contributor : Christian Schmidt <mucknert at gmx.net>
+# Contributor : Markus Meissner <markus at meissna.de>
+# Contributor : Nick Erdmann <erdmann at date.upb.de>
+
+pkgname=nethack
+pkgver=3.4.3
+pkgrel=8
+pkgdesc='A single player dungeon exploration game'
+arch=('i686' 'x86_64')
+url="http://www.nethack.org/index.html"
+license=('custom')
+depends=('ncurses' 'gzip')
+install=nethack.install
+source=("http://downloads.sourceforge.net/$pkgname/$pkgname-${pkgver//.}-src.tgz")
+md5sums=('21479c95990eefe7650df582426457f9')
+
+build(){
+  cd $srcdir/$pkgname-$pkgver/
+  sh sys/unix/setup.sh
+
+  sed -e '/define HACKDIR/ s|/usr/games/lib/nethackdir|/var/games/nethack/|' \
+      -e "/^#define COMPRESS\s/ s|/usr/bin/compress|$(which gzip)|" \
+      -e '/^#define COMPRESS_EXTENSION/ s|".Z"|".gz"|' \
+      -e 's|^/\* \(#define DLB\) \*/|\1|' -i include/config.h
+
+  sed -e 's|^/\* \(#define LINUX\) \*/|\1|' \
+      -e 's|^/\* \(#define TIMED_DELAY\) \*/|\1|' -i include/unixconf.h
+
+  sed -e 's|^# \(WINTTYLIB = -lncurses\)|\1|' \
+      -e 's|^WINTTYLIB = -ltermlib|#&|' -i src/Makefile
+
+  # we are setting up for setgid games, so modify all necessary permissions
+  # to allow full access for groups
+
+  sed -e '/^GAMEDIR\s*=/ s|/games/.*$|/var/games/$(GAME)|' \
+      -e '/^GAMEUID\s*=/ s|games|root|' \
+      -e '/^GAMEGRP\s*=/ s|bin|games|' \
+      -e '/^GAMEPERM\s*=/ s|04755|02755|' \
+      -e '/^FILEPERM\s*=/ s|0644|0664|' \
+      -e '/^DIRPERM\s*=/ s|0755|0775|' \
+      -e '/^SHELLDIR\s*=/ s|/games|/usr/bin|' -i Makefile
+
+  sed -e "/^MANDIR\s*=/s|/usr/man/man6|$pkgdir/usr/share/man/man6|" -i doc/Makefile
+
+  make
+}
+  
+package() {
+  cd $srcdir/$pkgname-$pkgver/
+
+  install -dm755 $pkgdir/usr/share/{man/man6,doc/nethack}
+  install -dm775 $pkgdir/var/games/
+  make PREFIX=$pkgdir install manpages
+  sed -e "s|HACKDIR=$pkgdir/|HACKDIR=/|" \
+      -e 's|HACK=$HACKDIR|HACK=/usr/lib/nethack|' \
+      -i $pkgdir/usr/bin/nethack
+
+  install -dm755 $pkgdir/usr/lib/nethack
+  mv $pkgdir/var/games/nethack/{nethack,recover} $pkgdir/usr/lib/nethack/
+
+  install -Dm644 doc/Guidebook.txt $pkgdir/usr/share/doc/nethack/Guidebook.txt
+      
+  install -Dm644 dat/license $pkgdir/usr/share/licenses/$pkgname/LICENSE
+}

Deleted: community-i686/nethack.install
===================================================================
--- community-i686/nethack.install	2014-07-05 02:54:03 UTC (rev 114981)
+++ community-i686/nethack.install	2014-07-05 02:54:37 UTC (rev 114982)
@@ -1,12 +0,0 @@
-pre_upgrade() {
-  if(test `vercmp '3.4.3-5' "$2"` -ge 0); then
-    mv /usr/share/nethack /tmp/nethack-backup
-  fi
-}
-
-post_upgrade() {
-  if(test `vercmp '3.4.3-5' "$2"` -ge 0); then
-    rm -rf /var/games/nethack
-    mv /tmp/nethack-backup /var/games/nethack
-  fi
-}

Copied: nethack/repos/community-i686/nethack.install (from rev 114981, nethack/trunk/nethack.install)
===================================================================
--- community-i686/nethack.install	                        (rev 0)
+++ community-i686/nethack.install	2014-07-05 02:54:37 UTC (rev 114982)
@@ -0,0 +1,12 @@
+pre_upgrade() {
+  if(test `vercmp '3.4.3-5' "$2"` -ge 0); then
+    mv /usr/share/nethack /tmp/nethack-backup
+  fi
+}
+
+post_upgrade() {
+  if(test `vercmp '3.4.3-5' "$2"` -ge 0); then
+    rm -rf /var/games/nethack
+    mv /tmp/nethack-backup /var/games/nethack
+  fi
+}

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2014-07-05 02:54:03 UTC (rev 114981)
+++ community-x86_64/PKGBUILD	2014-07-05 02:54:37 UTC (rev 114982)
@@ -1,67 +0,0 @@
-# $Id$
-# Maintainer : schuay <jakob.gruber at gmail.com>
-# Contributor : kevin <kevin at archlinux.org>
-# Contributor : Christian Schmidt <mucknert at gmx.net>
-# Contributor : Markus Meissner <markus at meissna.de>
-# Contributor : Nick Erdmann <erdmann at date.upb.de>
-
-pkgname=nethack
-pkgver=3.4.3
-pkgrel=7
-pkgdesc='A single player dungeon exploration game'
-arch=('i686' 'x86_64')
-url="http://www.nethack.org/index.html"
-license=('custom')
-depends=('ncurses' 'gzip')
-install=nethack.install
-source=("http://downloads.sourceforge.net/$pkgname/$pkgname-${pkgver//.}-src.tgz")
-md5sums=('21479c95990eefe7650df582426457f9')
-
-build(){
-  cd $srcdir/$pkgname-$pkgver/
-  sh sys/unix/setup.sh
-
-  sed -e '/define HACKDIR/ s|/usr/games/lib/nethackdir|/var/games/nethack/|' \
-      -e "/^#define COMPRESS\s/ s|/usr/bin/compress|$(which gzip)|" \
-      -e '/^#define COMPRESS_EXTENSION/ s|".Z"|".gz"|' \
-      -e 's|^/\* \(#define DLB\) \*/|\1|' -i include/config.h
-
-  sed -e 's|^/\* \(#define LINUX\) \*/|\1|' \
-      -e 's|^/\* \(#define TIMED_DELAY\) \*/|\1|' -i include/unixconf.h
-
-  sed -e 's|^# \(WINTTYLIB = -lncurses\)|\1|' \
-      -e 's|^WINTTYLIB = -ltermlib|#&|' -i src/Makefile
-
-  # we are setting up for setgid games, so modify all necessary permissions
-  # to allow full access for groups
-
-  sed -e '/^GAMEDIR\s*=/ s|/games/.*$|/var/games/$(GAME)|' \
-      -e '/^GAMEUID\s*=/ s|games|root|' \
-      -e '/^GAMEGRP\s*=/ s|bin|games|' \
-      -e '/^GAMEPERM\s*=/ s|04755|02755|' \
-      -e '/^FILEPERM\s*=/ s|0644|0664|' \
-      -e '/^DIRPERM\s*=/ s|0755|0775|' \
-      -e '/^SHELLDIR\s*=/ s|/games|/usr/bin|' -i Makefile
-
-  sed -e "/^MANDIR\s*=/s|/usr/man/man6|$pkgdir/usr/share/man/man6|" -i doc/Makefile
-
-  make
-}
-  
-package() {
-  cd $srcdir/$pkgname-$pkgver/
-
-  install -dm755 $pkgdir/usr/share/{man/man6,doc/nethack}
-  install -dm775 $pkgdir/var/games/
-  make PREFIX=$pkgdir install manpages
-  sed -e "s|HACKDIR=$pkgdir/|HACKDIR=/|" \
-      -e 's|HACK=$HACKDIR|HACK=/usr/lib/nethack|' \
-      -i $pkgdir/usr/bin/nethack
-
-  install -dm755 $pkgdir/usr/lib/nethack
-  mv $pkgdir/var/games/nethack/{nethack,recover} $pkgdir/usr/lib/nethack/
-
-  install -Dm644 doc/Guidebook.txt $pkgdir/usr/share/doc/nethack/Guidebook.txt
-      
-  install -Dm644 dat/license $pkgdir/usr/share/licenses/$pkgname/LICENSE
-}

Copied: nethack/repos/community-x86_64/PKGBUILD (from rev 114981, nethack/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2014-07-05 02:54:37 UTC (rev 114982)
@@ -0,0 +1,67 @@
+# $Id$
+# Maintainer : schuay <jakob.gruber at gmail.com>
+# Contributor : kevin <kevin at archlinux.org>
+# Contributor : Christian Schmidt <mucknert at gmx.net>
+# Contributor : Markus Meissner <markus at meissna.de>
+# Contributor : Nick Erdmann <erdmann at date.upb.de>
+
+pkgname=nethack
+pkgver=3.4.3
+pkgrel=8
+pkgdesc='A single player dungeon exploration game'
+arch=('i686' 'x86_64')
+url="http://www.nethack.org/index.html"
+license=('custom')
+depends=('ncurses' 'gzip')
+install=nethack.install
+source=("http://downloads.sourceforge.net/$pkgname/$pkgname-${pkgver//.}-src.tgz")
+md5sums=('21479c95990eefe7650df582426457f9')
+
+build(){
+  cd $srcdir/$pkgname-$pkgver/
+  sh sys/unix/setup.sh
+
+  sed -e '/define HACKDIR/ s|/usr/games/lib/nethackdir|/var/games/nethack/|' \
+      -e "/^#define COMPRESS\s/ s|/usr/bin/compress|$(which gzip)|" \
+      -e '/^#define COMPRESS_EXTENSION/ s|".Z"|".gz"|' \
+      -e 's|^/\* \(#define DLB\) \*/|\1|' -i include/config.h
+
+  sed -e 's|^/\* \(#define LINUX\) \*/|\1|' \
+      -e 's|^/\* \(#define TIMED_DELAY\) \*/|\1|' -i include/unixconf.h
+
+  sed -e 's|^# \(WINTTYLIB = -lncurses\)|\1|' \
+      -e 's|^WINTTYLIB = -ltermlib|#&|' -i src/Makefile
+
+  # we are setting up for setgid games, so modify all necessary permissions
+  # to allow full access for groups
+
+  sed -e '/^GAMEDIR\s*=/ s|/games/.*$|/var/games/$(GAME)|' \
+      -e '/^GAMEUID\s*=/ s|games|root|' \
+      -e '/^GAMEGRP\s*=/ s|bin|games|' \
+      -e '/^GAMEPERM\s*=/ s|04755|02755|' \
+      -e '/^FILEPERM\s*=/ s|0644|0664|' \
+      -e '/^DIRPERM\s*=/ s|0755|0775|' \
+      -e '/^SHELLDIR\s*=/ s|/games|/usr/bin|' -i Makefile
+
+  sed -e "/^MANDIR\s*=/s|/usr/man/man6|$pkgdir/usr/share/man/man6|" -i doc/Makefile
+
+  make
+}
+  
+package() {
+  cd $srcdir/$pkgname-$pkgver/
+
+  install -dm755 $pkgdir/usr/share/{man/man6,doc/nethack}
+  install -dm775 $pkgdir/var/games/
+  make PREFIX=$pkgdir install manpages
+  sed -e "s|HACKDIR=$pkgdir/|HACKDIR=/|" \
+      -e 's|HACK=$HACKDIR|HACK=/usr/lib/nethack|' \
+      -i $pkgdir/usr/bin/nethack
+
+  install -dm755 $pkgdir/usr/lib/nethack
+  mv $pkgdir/var/games/nethack/{nethack,recover} $pkgdir/usr/lib/nethack/
+
+  install -Dm644 doc/Guidebook.txt $pkgdir/usr/share/doc/nethack/Guidebook.txt
+      
+  install -Dm644 dat/license $pkgdir/usr/share/licenses/$pkgname/LICENSE
+}

Deleted: community-x86_64/nethack.install
===================================================================
--- community-x86_64/nethack.install	2014-07-05 02:54:03 UTC (rev 114981)
+++ community-x86_64/nethack.install	2014-07-05 02:54:37 UTC (rev 114982)
@@ -1,12 +0,0 @@
-pre_upgrade() {
-  if(test `vercmp '3.4.3-5' "$2"` -ge 0); then
-    mv /usr/share/nethack /tmp/nethack-backup
-  fi
-}
-
-post_upgrade() {
-  if(test `vercmp '3.4.3-5' "$2"` -ge 0); then
-    rm -rf /var/games/nethack
-    mv /tmp/nethack-backup /var/games/nethack
-  fi
-}

Copied: nethack/repos/community-x86_64/nethack.install (from rev 114981, nethack/trunk/nethack.install)
===================================================================
--- community-x86_64/nethack.install	                        (rev 0)
+++ community-x86_64/nethack.install	2014-07-05 02:54:37 UTC (rev 114982)
@@ -0,0 +1,12 @@
+pre_upgrade() {
+  if(test `vercmp '3.4.3-5' "$2"` -ge 0); then
+    mv /usr/share/nethack /tmp/nethack-backup
+  fi
+}
+
+post_upgrade() {
+  if(test `vercmp '3.4.3-5' "$2"` -ge 0); then
+    rm -rf /var/games/nethack
+    mv /tmp/nethack-backup /var/games/nethack
+  fi
+}




More information about the arch-commits mailing list