blob: e15c29aca521aa93d7cccdbfcbe5e973f34cb3b5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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
}
|