diff options
author | root <root@rshg054.dnsready.net> | 2013-08-13 01:33:19 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-08-13 01:33:19 -0700 |
commit | 7a65a910b77ad191d69881098c47f9b0c852d92e (patch) | |
tree | 9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/openclonk | |
parent | 60da6abff6c9577a783d72865f11de7a585e912e (diff) |
Tue Aug 13 01:31:08 PDT 2013
Diffstat (limited to 'community/openclonk')
-rw-r--r-- | community/openclonk/PKGBUILD | 38 | ||||
-rw-r--r-- | community/openclonk/openclonk.install | 11 |
2 files changed, 49 insertions, 0 deletions
diff --git a/community/openclonk/PKGBUILD b/community/openclonk/PKGBUILD new file mode 100644 index 000000000..1157c0a30 --- /dev/null +++ b/community/openclonk/PKGBUILD @@ -0,0 +1,38 @@ +# $Id: PKGBUILD 94898 2013-08-01 06:55:20Z bpiotrowski $ +# Maintainer: Jonathan Steel <mail at jsteel dot org> +# Contributor: Sven-Hendrik Haase <sh@lutzhaase.com> +# Contributor: Wesley <rudirennsau at hotmail dot com> + +pkgname=openclonk +pkgver=5.3.3 +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=('a61d8a7d7c41bcc8d85a647c25095658') + +build() { + [[ -d build ]] && rm -rf build + mkdir build && cd build + + cmake ../ -DCMAKE_INSTALL_PREFIX=/usr + + make +} + +package() { + cd 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 +} + +# vim: ts=2 sw=2 et: diff --git a/community/openclonk/openclonk.install b/community/openclonk/openclonk.install new file mode 100644 index 000000000..b9bbaf706 --- /dev/null +++ b/community/openclonk/openclonk.install @@ -0,0 +1,11 @@ +post_install() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} |