diff options
author | Lukas Werling | 2016-01-19 16:50:46 +0100 |
---|---|---|
committer | Lukas Werling | 2016-01-19 17:38:29 +0100 |
commit | 835877dc9fcfb90bc812f1a7280ce53fffeb6fb5 (patch) | |
tree | e6949029850e368e3209faf43b631b0e84fae36f | |
parent | 3983fe18e235f30d765d9f725c369033c703d5be (diff) | |
download | aur-835877dc9fcfb90bc812f1a7280ce53fffeb6fb5.tar.gz |
Install unpacked music to allow adding more music
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 10 insertions, 3 deletions
@@ -1,9 +1,9 @@ # Generated by mksrcinfo v8 -# Sun Jan 17 20:14:57 UTC 2016 +# Tue Jan 19 15:49:56 UTC 2016 pkgbase = openclonk pkgdesc = Multiplayer-action-tactic-skill game pkgver = 7.0 - pkgrel = 2 + pkgrel = 3 url = http://openclonk.org install = openclonk.install arch = i686 @@ -19,6 +19,7 @@ pkgbase = openclonk depends = libxpm depends = hicolor-icon-theme depends = libupnp + optdepends = openclonk-music: proprietary music package conflicts = clonk_rage source = http://openclonk.org/builds/release/7.0/openclonk-7.0-src.tar.bz2 source = directories.patch @@ -2,10 +2,11 @@ # Contributor: Jonathan Steel <mail at jsteel dot org> # Contributor: Sven-Hendrik Haase <sh@lutzhaase.com> # Contributor: Wesley <rudirennsau at hotmail dot com> +# Contributor: Lukas Werling <lukas.werling@gmail.com> pkgname=openclonk pkgver=7.0 -pkgrel=2 +pkgrel=3 _orig=$pkgname-$pkgver-src pkgdesc='Multiplayer-action-tactic-skill game' arch=('i686' 'x86_64') @@ -13,6 +14,7 @@ url='http://openclonk.org' license=('custom') depends=('gtk2' 'glew' 'sdl_mixer' 'libxpm' 'hicolor-icon-theme' 'libupnp') makedepends=('cmake' 'boost' 'imagemagick' 'mesa') +optdepends=('openclonk-music: proprietary music package') conflicts=('clonk_rage') install=$pkgname.install source=("http://openclonk.org/builds/release/$pkgver/$pkgname-$pkgver-src.tar.bz2" 'directories.patch') @@ -40,6 +42,10 @@ package() { make DESTDIR="$pkgdir" install + # Replace the music packet with unpacked music to allow adding music. + rm "$pkgdir/usr/share/openclonk/Music.ocg" + install -Dm644 ../planet/Music.ocg/* -t "$pkgdir/usr/share/openclonk/Music.ocg" + # licenses install -dm755 "$pkgdir"/usr/share/licenses/$pkgname install -m644 ../licenses/*.txt "$pkgdir"/usr/share/licenses/$pkgname |