[arch-commits] Commit in bsd-games/trunk (PKGBUILD config.params)

Laurent Carlier lcarlier at nymeria.archlinux.org
Thu May 16 05:12:04 EDT 2013


    Date: Thursday, May 16, 2013 @ 11:12:04
  Author: lcarlier
Revision: 90950

upgpkg: bsd-games 2.17-14

Move huntd to /usr/bin

Modified:
  bsd-games/trunk/PKGBUILD
  bsd-games/trunk/config.params

---------------+
 PKGBUILD      |   12 ++++++++----
 config.params |    2 +-
 2 files changed, 9 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-16 06:57:01 UTC (rev 90949)
+++ PKGBUILD	2013-05-16 09:12:04 UTC (rev 90950)
@@ -5,7 +5,7 @@
 
 pkgname=bsd-games
 pkgver=2.17
-pkgrel=13
+pkgrel=14
 pkgdesc="A linux port for a collection of BSD command line games."
 url="ftp://ftp.ibiblio.org/pub/Linux/games/"
 arch=('i686' 'x86_64')
@@ -18,7 +18,7 @@
         number.c.diff bsd-games-2.17-64bit.patch
         bad-ntohl-cast.diff null-check.diff)
 md5sums=('238a38a3a017ca9b216fc42bde405639'
-         '9916baef5cb8aa09361f67de12ca7bef'
+         '2ea80281ee9993a9ee47323e78349a2a'
          '784f68c796b9e099ac008aecef1af998'
          '9c0fa6e2345bd0a7945c9a41d5ba68aa'
          '5356bd6999ae53dd27cb2a0f837a3e70'
@@ -27,8 +27,9 @@
          '3d21a9dad2e603ddf3842972e4ff85a1'
          'a43ca0b4b9ebc4eec26372c52014ac0a')
 
-build() {
+prepare() {
   cd "${srcdir}/$pkgname-$pkgver"
+
   [ "$CARCH" = "x86_64" ] && patch -p1 < "$srcdir/bsd-games-2.17-64bit.patch"
   cp "${srcdir}/config.params" .
 
@@ -63,8 +64,11 @@
   # Prior to release 2.17-10 of the ArchLinux package, wargames was
   # broken, since binaries are in /usr/bin instead.
   sed -i -e 's|/usr/games|/usr/bin|g' wargames/wargames
+}
 
-# Build.
+build() {
+  cd "${srcdir}/$pkgname-$pkgver"
+
   ./configure
   make
 }

Modified: config.params
===================================================================
--- config.params	2013-05-16 06:57:01 UTC (rev 90949)
+++ config.params	2013-05-16 09:12:04 UTC (rev 90950)
@@ -2,7 +2,7 @@
 bsd_games_cfg_install_prefix=PKGDIR
 bsd_games_cfg_no_build_dirs='banner fortune wtf factor monop'
 bsd_games_cfg_gamesdir=/usr/bin
-bsd_games_cfg_sbindir=/usr/sbin
+bsd_games_cfg_sbindir=/usr/bin
 bsd_games_cfg_man6dir=/usr/share/man/man6
 bsd_games_cfg_man5dir=/usr/share/man/man5
 bsd_games_cfg_man8dir=/usr/share/man/man8



More information about the arch-commits mailing list