desktop/dnt/PKGBUILD
Adrian Chaves Fernandez (Gallaecio) 2f42b1f7db DNT 0.10
2012-09-16 21:27:40 +00:00

38 lines
1.0 KiB
Bash

#
# Games Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
pkgname=dnt
pkgver=0.10
pkgrel=1
pkgdesc="A sarcastic 3D single player RPG set in a post-apocalyptical world."
arch=('i686' 'x86_64')
url="http://dnt.dnteam.org/"
license=('custom:code:GPL' 'custom:media:GPL, CC:BY-SA or Public Domain' )
depends=('cal3d' 'mesa' 'libgl' 'libvorbis' 'openal' 'sdl' 'sdl_image' 'sdl_ttf')
makedepends=(cmake)
replaces=(dccnitghtmare)
categories=('games')
source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2"
"http://aur.archlinux.org/packages/dn/$pkgname/$pkgname.tar.gz")
md5sums=('82c76324634b7d4dc888033c3ba3a35e'
'e0ef13025a95341042b1899b092b0c4d')
build() {
cd $srcdir/$pkgname
cmake \
-DCMAKE_INSTALL_PREFIX=$pkgdir/usr \
.
make
}
package() {
cd $srcdir/$pkgname
make install
# Desktop Integration.
install -Dm644 $srcdir/$pkgname/$pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop
}