summaryrefslogtreecommitdiff
path: root/community/gemrb
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/gemrb
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/gemrb')
-rw-r--r--community/gemrb/PKGBUILD34
-rw-r--r--community/gemrb/gemrb.install24
2 files changed, 58 insertions, 0 deletions
diff --git a/community/gemrb/PKGBUILD b/community/gemrb/PKGBUILD
new file mode 100644
index 000000000..ad190a689
--- /dev/null
+++ b/community/gemrb/PKGBUILD
@@ -0,0 +1,34 @@
+# $Id: PKGBUILD 91754 2013-05-27 08:10:59Z bpiotrowski $
+# Maintainer: Lukas Jirkovsky <l.jirkovsky@gmail.com>
+pkgname=gemrb
+pkgver=0.8.0.1
+pkgrel=1
+pkgdesc="OSS implementation of Bioware's Infinity Engine which supports eg. Baldur's Gate"
+arch=('i686' 'x86_64')
+url="http://www.gemrb.org/"
+license=('GPL')
+depends=('python2' 'openal' 'libpng' 'sdl_mixer')
+# optionally it is possible to build vlc plugin too
+makedepends=('cmake')
+install=gemrb.install
+options=('!libtool')
+source=("http://downloads.sourceforge.net/sourceforge/gemrb/$pkgname-$pkgver.tar.gz")
+md5sums=('fdb97cc031cf969938952ce2c79b25fc')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ if [ ! -d "$srcdir/build" ] ; then
+ mkdir "$srcdir/build"
+ fi
+ cd "$srcdir/build"
+
+ cmake -DCMAKE_INSTALL_PREFIX=/usr ../$pkgname-$pkgver
+ make
+}
+
+package() {
+ cd "$srcdir"/build
+ make DESTDIR="$pkgdir" install
+}
+
diff --git a/community/gemrb/gemrb.install b/community/gemrb/gemrb.install
new file mode 100644
index 000000000..43ea46f2c
--- /dev/null
+++ b/community/gemrb/gemrb.install
@@ -0,0 +1,24 @@
+post_install() {
+ cat << EOF
+
+Installing the games
+--------------------
+ 1. Install the game(s) (eg using wine or Unshield)
+ 2. Copy /etc/gemrb/GemRB.cfg.sample to ~/.gemrb/gemrb.cfg or to /etc/gemrb/gemrb.cfg
+ 3. Edit gemrb.cfg, mainly to set up the path to the game's data files. It is crucial to get this right.
+ 4. Now You can start the game by executing "gemrb" at the command line prompt
+
+EOF
+
+gtk-update-icon-cache -f /usr/share/icons/hicolor/
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ echo "Don't forget to remove game data files."
+ post_install
+}
+