PKGBUILDs/community/freedroidrpg/PKGBUILD
2009-10-09 21:15:33 -05:00

28 lines
1,017 B
Bash

# $Id: PKGBUILD 970 2009-08-10 09:06:04Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: nut543 <kfs1@online.no>
pkgname=freedroidrpg
pkgver=0.12.1
pkgrel=2
pkgdesc="a mature science fiction role playing game set in the future"
arch=('i686' 'x86_64')
depends=('sdl_mixer' 'sdl_image' 'libogg' 'libvorbis' 'libgl')
url="http://freedroid.sourceforge.net"
license=("GPL")
source=(http://downloads.sourceforge.net/sourceforge/freedroid/freedroidrpg-$pkgver.tar.bz2 \
freedroidrpg.jpg \
freedroidrpg.desktop)
md5sums=('77fc8fb5c6080c555d90105da91c671f'
'b73d9dac44c7e83a6c80fbe4eb96ba79'
'9a10c2a2064439cdcff5b945dfb1c3ac')
build() {
cd $startdir/src/$pkgname-$pkgver
install -D -m644 $startdir/src/freedroidrpg.jpg $startdir/pkg/usr/share/icons/freedroidrpg.jpg && \
install -D -m644 $startdir/src/freedroidrpg.desktop $startdir/pkg/usr/share/applications/freedroidrpg.desktop || return 1
./configure --prefix=/usr
make DESTDIR=$startdir/pkg install
}