summaryrefslogtreecommitdiff
path: root/community/rogue/PKGBUILD
blob: 453bed75bf9e6f888ea37d7f90156b2d8fe8c4f1 (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' 'mips64el')
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"
}