diff options
Diffstat (limited to 'community/openclonk/PKGBUILD')
-rw-r--r-- | community/openclonk/PKGBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/community/openclonk/PKGBUILD b/community/openclonk/PKGBUILD new file mode 100644 index 000000000..f748da628 --- /dev/null +++ b/community/openclonk/PKGBUILD @@ -0,0 +1,36 @@ +# $Id: PKGBUILD 90070 2013-05-06 19:38:47Z foutrelis $ +# 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=1 +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 +} |