updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / adom / PKGBUILD
blobeb34273a58dfae2ae9f5ea0dc39859cf9776bc4f
1 # Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
3 pkgname=adom
4 pkgver=1.1.1
5 pkgrel=5
6 pkgdesc="A roguelike game with a quest-centric, plot driven structure"
7 arch=('i686' 'x86_64')
8 url="http://www.adom.de/"
9 license=('custom: "adom"')
11 if [ "$CARCH" = x86_64 ]
12  then
13   depends=('lib32-ncurses')
14  else
15   depends=('ncurses')
18 source=(http://www.adom.de/adom/download/linux/$pkgname-111-elf.tar.gz \
19         license.txt)
21 md5sums=('801484ba7c7c03b3b999365bc45db053'
22          'c462e91a70db094c71bd192b349467cf')
24 build() {
25   cd ${srcdir}/${pkgname}
27   install -m755 -D $pkgname ${pkgdir}/usr/bin/$pkgname || return 1
28   install -m644 -D ${srcdir}/license.txt ${pkgdir}/usr/share/licenses/$pkgname/LICENSE || return 1
30 #doc files
31   install -d ${pkgdir}/usr/share/doc/${pkgname}/ || return 1
32   install -D -m644 *.* ${pkgdir}/usr/share/doc/${pkgname}/ || return 1