[arch-commits] Commit in gemrb/repos (6 files)

Bartłomiej Piotrowski bpiotrowski at nymeria.archlinux.org
Mon Apr 29 11:52:26 UTC 2013


    Date: Monday, April 29, 2013 @ 13:52:25
  Author: bpiotrowski
Revision: 89428

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 89427, gemrb/trunk/PKGBUILD)
  gemrb/repos/community-staging-i686/gemrb.install
    (from rev 89427, gemrb/trunk/gemrb.install)
  gemrb/repos/community-staging-x86_64/
  gemrb/repos/community-staging-x86_64/PKGBUILD
    (from rev 89427, gemrb/trunk/PKGBUILD)
  gemrb/repos/community-staging-x86_64/gemrb.install
    (from rev 89427, gemrb/trunk/gemrb.install)

----------------------------------------+
 community-staging-i686/PKGBUILD        |   34 +++++++++++++++++++++++++++++++
 community-staging-i686/gemrb.install   |   24 +++++++++++++++++++++
 community-staging-x86_64/PKGBUILD      |   34 +++++++++++++++++++++++++++++++
 community-staging-x86_64/gemrb.install |   24 +++++++++++++++++++++
 4 files changed, 116 insertions(+)

Copied: gemrb/repos/community-staging-i686/PKGBUILD (from rev 89427, gemrb/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2013-04-29 11:52:25 UTC (rev 89428)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Lukas Jirkovsky <l.jirkovsky at gmail.com>
+pkgname=gemrb
+pkgver=0.8.0
+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' '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=('dc0306d4d301726ac449225313285ea1')
+
+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
+}
+

Copied: gemrb/repos/community-staging-i686/gemrb.install (from rev 89427, gemrb/trunk/gemrb.install)
===================================================================
--- community-staging-i686/gemrb.install	                        (rev 0)
+++ community-staging-i686/gemrb.install	2013-04-29 11:52:25 UTC (rev 89428)
@@ -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
+}
+

Copied: gemrb/repos/community-staging-x86_64/PKGBUILD (from rev 89427, gemrb/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2013-04-29 11:52:25 UTC (rev 89428)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Lukas Jirkovsky <l.jirkovsky at gmail.com>
+pkgname=gemrb
+pkgver=0.8.0
+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' '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=('dc0306d4d301726ac449225313285ea1')
+
+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
+}
+

Copied: gemrb/repos/community-staging-x86_64/gemrb.install (from rev 89427, gemrb/trunk/gemrb.install)
===================================================================
--- community-staging-x86_64/gemrb.install	                        (rev 0)
+++ community-staging-x86_64/gemrb.install	2013-04-29 11:52:25 UTC (rev 89428)
@@ -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
+}
+




More information about the arch-commits mailing list