Date: Sunday, April 28, 2013 @ 23:51:27 Author: jsteel Revision: 89368
archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: openclonk/repos/community-staging-i686/ openclonk/repos/community-staging-i686/PKGBUILD (from rev 89367, openclonk/trunk/PKGBUILD) openclonk/repos/community-staging-i686/openclonk.install (from rev 89367, openclonk/trunk/openclonk.install) openclonk/repos/community-staging-x86_64/ openclonk/repos/community-staging-x86_64/PKGBUILD (from rev 89367, openclonk/trunk/PKGBUILD) openclonk/repos/community-staging-x86_64/openclonk.install (from rev 89367, openclonk/trunk/openclonk.install) --------------------------------------------+ community-staging-i686/PKGBUILD | 38 +++++++++++++++++++++++++++ community-staging-i686/openclonk.install | 7 ++++ community-staging-x86_64/PKGBUILD | 38 +++++++++++++++++++++++++++ community-staging-x86_64/openclonk.install | 7 ++++ 4 files changed, 90 insertions(+) Copied: openclonk/repos/community-staging-i686/PKGBUILD (from rev 89367, openclonk/trunk/PKGBUILD) =================================================================== --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2013-04-28 21:51:27 UTC (rev 89368) @@ -0,0 +1,38 @@ +# $Id$ +# Maintainer: Jonathan Steel <mail at jsteel dot org> +# Contributor: Sven-Hendrik Haase <s...@lutzhaase.com> +# Contributor: Wesley <rudirennsau at hotmail dot com> + +pkgname=openclonk +pkgver=5.3.2 +pkgrel=2 +pkgdesc="A multiplayer-action-tactic-skill game" +arch=('i686' 'x86_64') +url="http://openclonk.org" +license=('custom') +depends=('gtk2' 'glew' 'sdl_mixer' 'libxpm' 'hicolor-icon-theme' 'libupnp') +makedepends=('cmake' 'boost' 'imagemagick' 'mesa') +install=$pkgname.install +source=(http://hg.openclonk.org/$pkgname/archive/$pkgname-release-$pkgver-src.tar.gz) +md5sums=('0d43b03f10c8af7a9022f023b21bb1b3') + +build() { + cd "$srcdir"/$pkgname-release-$pkgver-src + + [[ -d build ]] && rm -rf build + mkdir build && cd build + + cmake ../ -DCMAKE_INSTALL_PREFIX=/usr + + make +} + +package() { + cd "$srcdir"/$pkgname-release-$pkgver-src/build + + make DESTDIR="$pkgdir"/ install + + install -Dm644 clonk.png "$pkgdir"/usr/share/pixmaps/clonk.png + install -dm755 "$pkgdir"/usr/share/licenses/$pkgname + install -m644 ../licenses/*.txt "$pkgdir"/usr/share/licenses/$pkgname +} Copied: openclonk/repos/community-staging-i686/openclonk.install (from rev 89367, openclonk/trunk/openclonk.install) =================================================================== --- community-staging-i686/openclonk.install (rev 0) +++ community-staging-i686/openclonk.install 2013-04-28 21:51:27 UTC (rev 89368) @@ -0,0 +1,7 @@ +post_install() { + gtk-update-icon-cache -qf /usr/share/icons/hicolor +} + +post_remove() { + post_install +} Copied: openclonk/repos/community-staging-x86_64/PKGBUILD (from rev 89367, openclonk/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2013-04-28 21:51:27 UTC (rev 89368) @@ -0,0 +1,38 @@ +# $Id$ +# Maintainer: Jonathan Steel <mail at jsteel dot org> +# Contributor: Sven-Hendrik Haase <s...@lutzhaase.com> +# Contributor: Wesley <rudirennsau at hotmail dot com> + +pkgname=openclonk +pkgver=5.3.2 +pkgrel=2 +pkgdesc="A multiplayer-action-tactic-skill game" +arch=('i686' 'x86_64') +url="http://openclonk.org" +license=('custom') +depends=('gtk2' 'glew' 'sdl_mixer' 'libxpm' 'hicolor-icon-theme' 'libupnp') +makedepends=('cmake' 'boost' 'imagemagick' 'mesa') +install=$pkgname.install +source=(http://hg.openclonk.org/$pkgname/archive/$pkgname-release-$pkgver-src.tar.gz) +md5sums=('0d43b03f10c8af7a9022f023b21bb1b3') + +build() { + cd "$srcdir"/$pkgname-release-$pkgver-src + + [[ -d build ]] && rm -rf build + mkdir build && cd build + + cmake ../ -DCMAKE_INSTALL_PREFIX=/usr + + make +} + +package() { + cd "$srcdir"/$pkgname-release-$pkgver-src/build + + make DESTDIR="$pkgdir"/ install + + install -Dm644 clonk.png "$pkgdir"/usr/share/pixmaps/clonk.png + install -dm755 "$pkgdir"/usr/share/licenses/$pkgname + install -m644 ../licenses/*.txt "$pkgdir"/usr/share/licenses/$pkgname +} Copied: openclonk/repos/community-staging-x86_64/openclonk.install (from rev 89367, openclonk/trunk/openclonk.install) =================================================================== --- community-staging-x86_64/openclonk.install (rev 0) +++ community-staging-x86_64/openclonk.install 2013-04-28 21:51:27 UTC (rev 89368) @@ -0,0 +1,7 @@ +post_install() { + gtk-update-icon-cache -qf /usr/share/icons/hicolor +} + +post_remove() { + post_install +}