Date: Sunday, December 6, 2015 @ 22:20:33 Author: bpiotrowski Revision: 149239
archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: gemrb/repos/community-staging-i686/ gemrb/repos/community-staging-i686/PKGBUILD (from rev 149238, gemrb/trunk/PKGBUILD) gemrb/repos/community-staging-i686/gemrb.install (from rev 149238, gemrb/trunk/gemrb.install) gemrb/repos/community-staging-x86_64/ gemrb/repos/community-staging-x86_64/PKGBUILD (from rev 149238, gemrb/trunk/PKGBUILD) gemrb/repos/community-staging-x86_64/gemrb.install (from rev 149238, gemrb/trunk/gemrb.install) ----------------------------------------+ community-staging-i686/PKGBUILD | 37 +++++++++++++++++++++++++++++++ community-staging-i686/gemrb.install | 20 ++++++++++++++++ community-staging-x86_64/PKGBUILD | 37 +++++++++++++++++++++++++++++++ community-staging-x86_64/gemrb.install | 20 ++++++++++++++++ 4 files changed, 114 insertions(+) Copied: gemrb/repos/community-staging-i686/PKGBUILD (from rev 149238, gemrb/trunk/PKGBUILD) =================================================================== --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2015-12-06 21:20:33 UTC (rev 149239) @@ -0,0 +1,37 @@ +# $Id$ +# Maintainer: Lukas Jirkovsky <l.jirkov...@gmail.com> +pkgname=gemrb +pkgver=0.8.3 +pkgrel=2 +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' 'sdl_mixer' 'hicolor-icon-theme') +# optionally it is possible to build vlc plugin too +# for future reference: there is also and experimental SDL2/OpenGL renderer +makedepends=('cmake') +install=gemrb.install +source=("http://downloads.sourceforge.net/sourceforge/gemrb/$pkgname-$pkgver.tar.gz") +md5sums=('c5798e118425adcae4a45ec5b1ab77a5') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + if [ ! -d "$srcdir/build" ] ; then + mkdir "$srcdir/build" + fi + cd "$srcdir/build" + + cmake -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release \ + ../$pkgname-$pkgver + + make +} + +package() { + cd "$srcdir"/build + make DESTDIR="$pkgdir" install +} + Copied: gemrb/repos/community-staging-i686/gemrb.install (from rev 149238, gemrb/trunk/gemrb.install) =================================================================== --- community-staging-i686/gemrb.install (rev 0) +++ community-staging-i686/gemrb.install 2015-12-06 21:20:33 UTC (rev 149239) @@ -0,0 +1,20 @@ +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_remove() { + echo "Don't forget to remove game data files." + gtk-update-icon-cache -f /usr/share/icons/hicolor/ +} + Copied: gemrb/repos/community-staging-x86_64/PKGBUILD (from rev 149238, gemrb/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2015-12-06 21:20:33 UTC (rev 149239) @@ -0,0 +1,37 @@ +# $Id$ +# Maintainer: Lukas Jirkovsky <l.jirkov...@gmail.com> +pkgname=gemrb +pkgver=0.8.3 +pkgrel=2 +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' 'sdl_mixer' 'hicolor-icon-theme') +# optionally it is possible to build vlc plugin too +# for future reference: there is also and experimental SDL2/OpenGL renderer +makedepends=('cmake') +install=gemrb.install +source=("http://downloads.sourceforge.net/sourceforge/gemrb/$pkgname-$pkgver.tar.gz") +md5sums=('c5798e118425adcae4a45ec5b1ab77a5') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + if [ ! -d "$srcdir/build" ] ; then + mkdir "$srcdir/build" + fi + cd "$srcdir/build" + + cmake -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release \ + ../$pkgname-$pkgver + + make +} + +package() { + cd "$srcdir"/build + make DESTDIR="$pkgdir" install +} + Copied: gemrb/repos/community-staging-x86_64/gemrb.install (from rev 149238, gemrb/trunk/gemrb.install) =================================================================== --- community-staging-x86_64/gemrb.install (rev 0) +++ community-staging-x86_64/gemrb.install 2015-12-06 21:20:33 UTC (rev 149239) @@ -0,0 +1,20 @@ +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_remove() { + echo "Don't forget to remove game data files." + gtk-update-icon-cache -f /usr/share/icons/hicolor/ +} +