1 # Maintainer: Beej Jorgensen <beej@beej.us>
2 # Contributor: Beej Jorgensen <beej@beej.us>
4 # The actual real sources are hosted somewhere under
5 # ftp://ftp.greyhelm.com/pub/Games/Moria/source/
6 # but this site is consistently down. So the beej.us mirror
12 pkgdesc="Rogue-like dungeon crawler"
13 arch=('i686' 'x86_64')
14 url="http://www-math.bgsu.edu/~grabine/moria.html"
18 backup=("usr/share/${pkgname}/files/scores")
21 "${pkgname}-aur.patch"
22 "http://beej.us/moria/files/source/um${pkgver}.tar.Z"
24 install=${pkgname}.install
25 md5sums=('36baf52bdb15df8e4bab603dedb6f021'
26 '768b281e30aeb390184abfa76c1075f0'
27 '04a2852864302c702e82992023d97184')
32 patch -Np1 < ../${pkgname}-aur.patch
40 install -D -m0755 source/moria ${pkgdir}/usr/bin/moria
43 install -d -m0755 ${pkgdir}/usr/share/${pkgname}/files
44 install -m0644 files/* ${pkgdir}/usr/share/${pkgname}/files
46 # set permissions on scores file (must be in games group to use)
47 chgrp games ${pkgdir}/usr/share/${pkgname}/files/scores
48 chmod 664 ${pkgdir}/usr/share/${pkgname}/files/scores
51 install -d -m0755 ${pkgdir}/usr/share/doc/${pkgname}/doc
52 install -m0644 doc/* ${pkgdir}/usr/share/doc/${pkgname}/doc
53 install -m0644 CHANGES ${pkgdir}/usr/share/doc/${pkgname}
54 install -m0644 OChanges ${pkgdir}/usr/share/doc/${pkgname}
55 install -m0644 OOChanges ${pkgdir}/usr/share/doc/${pkgname}
56 install -m0644 ERRORS ${pkgdir}/usr/share/doc/${pkgname}
57 install -m0644 INSTALL ${pkgdir}/usr/share/doc/${pkgname}
58 install -m0644 README ${pkgdir}/usr/share/doc/${pkgname}
61 install -d -m0755 ${pkgdir}/usr/share/man/man6
62 gzip -c doc/moria.6 > ${pkgdir}/usr/share/man/man6/moria.6.gz
65 install -d -m0755 ${pkgdir}/usr/share/licenses/${pkgname}
66 install -m0644 ${srcdir}/license.txt ${pkgdir}/usr/share/licenses/${pkgname}/license.txt
69 # vim:set ts=2 sw=2 et: