summaryrefslogtreecommitdiff
path: root/community/rogue/PKGBUILD
blob: 76ce5bb6a97eac2820cc93249790904c3b323690 (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
# $Id: PKGBUILD 83922 2013-02-06 14:55:54Z kkeen $
# Maintainer: Kyle Keen <keenerd@gmail.com>
pkgname=rogue
pkgver=5.4.4
pkgrel=3
pkgdesc="The original dungeon crawl game."
arch=('i686' 'x86_64')
url="http://rogue.rogueforge.net/rogue-5-4/"
license=('custom')
depends=('ncurses')
provides=('rouge')  # so the illiterate can find it in searches too
#source=(http://rogue.rogueforge.net/files/rogue5.4/$pkgname$pkgver-src.tar.gz)
source=(http://www.sourcefiles.org/Games/Role_Play/$pkgname$pkgver-src.tar.gz)
md5sums=('033288f46444b06814c81ea69d96e075')

build() {
  cd "$srcdir/$pkgname$pkgver"
  ./configure
  make
}

package() {
  cd "$srcdir/$pkgname$pkgver"
  install -Dm755 rogue "$pkgdir/usr/bin/rogue"
  install -Dm644 rogue.6 "$pkgdir/usr/share/man/man6/rogue.6"
  install -Dm644 LICENSE.TXT "$pkgdir/usr/share/licenses/$pkgname/LICENSE.TXT"
}