mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 10:32:13 +08:00
39 lines
1.0 KiB
Bash
39 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=dccnitghtmare
|
|
pkgver=0.9
|
|
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')
|
|
categories=('games')
|
|
source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2"
|
|
"http://aur.archlinux.org/packages/dc/dccnitghtmare/dccnitghtmare.tar.gz")
|
|
md5sums=('c7a1a8580482fa0e45e6da07bf92d1b7'
|
|
'487350a03a0cfb26cbdf22cb1329e0bd')
|
|
build() {
|
|
cd $srcdir/$pkgname
|
|
|
|
./configure \
|
|
--prefix=/usr
|
|
|
|
make \
|
|
LDFLAGS=""
|
|
}
|
|
|
|
package() {
|
|
cd $srcdir/$pkgname
|
|
|
|
mkdir -p $pkgdir/usr/bin
|
|
make prefix=$pkgdir/usr install
|
|
|
|
# Desktop Integration.
|
|
install -Dm644 $srcdir/$pkgname/$pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop
|
|
}
|
|
|