summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: df905bcf266a5e4cb0c924e0fdf10dc00aa8a0f9 (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
27
28
29
# Maintainer: Tasos Latsas <tlatsas@gmx.com>
# Contributor: Patrick Palka <patrick@parcs.ath.cx>
# Contributor: damir <damir@archlinux.org>
# Development: http://closure.ath.cx/aur-dev

pkgname=bs
pkgver=2.9
pkgrel=1
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)

build() {
  cd "$pkgname-$pkgver"

  make
}

package() {
  cd "$pkgname-$pkgver"

  install -Dm755 bs $pkgdir/usr/bin/bs
  install -Dm644 bs.6 $pkgdir/usr/share/man/man6/bs.6
}

md5sums=('4d4eec59c1789cffacf367d993e724f4')