summaryrefslogtreecommitdiff
path: root/extra/bs/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/bs/PKGBUILD')
-rw-r--r--extra/bs/PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/extra/bs/PKGBUILD b/extra/bs/PKGBUILD
new file mode 100644
index 000000000..e15c29aca
--- /dev/null
+++ b/extra/bs/PKGBUILD
@@ -0,0 +1,26 @@
+# $Id: PKGBUILD 69354 2010-02-20 11:19:53Z allan $
+# Maintainer:
+# Contributor damir <damir@archlinux.org>
+
+pkgname=bs
+pkgver=2.7
+pkgrel=2
+pkgdesc="The classic game of Battleships against the computer. Ncurses."
+arch=('i686' 'x86_64')
+url="http://www.catb.org/~esr/bs/"
+license=('GPL2')
+depends=('ncurses')
+source=($url/$pkgname-$pkgver.tar.gz)
+md5sums=('5786c6006e503d100e65139dadb5d5a7')
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+ ./configure --prefix=/usr
+ make || return 1
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
+ install -Dm755 bs $pkgdir/usr/bin/bs
+ install -Dm644 bs.6 $pkgdir/usr/share/man/man6/bs.6
+}