summaryrefslogtreecommitdiff
path: root/extra/bs/PKGBUILD
blob: 51b32a0b02485ed4b29f26f5793509856e14497e (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' 'mips64el')
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
}