diff options
Diffstat (limited to 'community/openclonk/PKGBUILD')
-rw-r--r-- | community/openclonk/PKGBUILD | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/community/openclonk/PKGBUILD b/community/openclonk/PKGBUILD index c3aebc93c..f748da628 100644 --- a/community/openclonk/PKGBUILD +++ b/community/openclonk/PKGBUILD @@ -1,25 +1,22 @@ -$Id: PKGBUILD 80496 2012-11-22 21:30:12Z jsteel $ +# $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.2 +pkgver=5.3.3 pkgrel=1 pkgdesc="A multiplayer-action-tactic-skill game" arch=('i686' 'x86_64') url="http://openclonk.org" license=('custom') -conflicts=('openclonk-hg') 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') +md5sums=('a61d8a7d7c41bcc8d85a647c25095658') build() { - cd "$srcdir"/$pkgname-release-$pkgver-src - [[ -d build ]] && rm -rf build mkdir build && cd build @@ -29,13 +26,11 @@ build() { } package() { - cd "$srcdir"/$pkgname-release-$pkgver-src/build + cd build - make DESTDIR="$pkgdir" install + make DESTDIR="$pkgdir"/ install install -Dm644 clonk.png "$pkgdir"/usr/share/pixmaps/clonk.png - - cd .. install -dm755 "$pkgdir"/usr/share/licenses/$pkgname - install -m644 licenses/*.txt "$pkgdir"/usr/share/licenses/$pkgname + install -m644 ../licenses/*.txt "$pkgdir"/usr/share/licenses/$pkgname } |