[arch-commits] Commit in bs/trunk (PKGBUILD)
Allan McRae
allan at archlinux.org
Sat Feb 20 11:19:54 UTC 2010
Date: Saturday, February 20, 2010 @ 06:19:53
Author: allan
Revision: 69354
upgpkg: bs 2.7-2
This package keeps getting reported as having man pages in /usr/man. Possibly due to lack of pkgrel bump for past rebuild\? Tidy PKGBUILD.
Modified:
bs/trunk/PKGBUILD
----------+
PKGBUILD | 19 ++++++++++---------
1 file changed, 10 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2010-02-20 11:19:52 UTC (rev 69353)
+++ PKGBUILD 2010-02-20 11:19:53 UTC (rev 69354)
@@ -1,8 +1,10 @@
# $Id$
-# Maintainer: damir <damir at archlinux.org>
+# Maintainer:
+# Contributor damir <damir at archlinux.org>
+
pkgname=bs
pkgver=2.7
-pkgrel=1
+pkgrel=2
pkgdesc="The classic game of Battleships against the computer. Ncurses."
arch=('i686' 'x86_64')
url="http://www.catb.org/~esr/bs/"
@@ -12,14 +14,13 @@
md5sums=('5786c6006e503d100e65139dadb5d5a7')
build() {
- cd $startdir/src/$pkgname-$pkgver
+ cd $srcdir/$pkgname-$pkgver
./configure --prefix=/usr
make || return 1
+}
- mkdir -p $startdir/pkg/usr/bin
- cp bs $startdir/pkg/usr/bin
-
- mkdir -p $startdir/pkg/usr/share/man/man6
- cp bs.6 $startdir/pkg/usr/share/man/man6/bs.6
-
+package() {
+ cd $srcdir/$pkgname-$pkgver
+ install -Dm755 bs $pkgdir/usr/bin/bs
+ install -Dm644 bs.6 $pkgdir/usr/share/man/man6/bs.6
}
More information about the arch-commits
mailing list