mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
25 lines
628 B
Bash
25 lines
628 B
Bash
# $Id: PKGBUILD 9103 2008-08-17 03:48:53Z allan $
|
|
# Maintainer: damir <damir@archlinux.org>
|
|
pkgname=bs
|
|
pkgver=2.7
|
|
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)
|
|
md5sums=('5786c6006e503d100e65139dadb5d5a7')
|
|
|
|
build() {
|
|
cd $startdir/src/$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
|
|
|
|
}
|