updated on Wed Jan 11 20:01:35 UTC 2012
[aur-mirror.git] / rlvm / PKGBUILD
bloba2282febadc81466adc557dae0602fc3f943f3e7
1 # Maintainer: Jon Bergli Heier <snakebite@jvnv.net>
2 pkgname=rlvm
3 pkgver=0.12
4 pkgrel=1
5 pkgdesc="RealLive clone for Linux and OSX"
6 arch=(i686 x86_64)
7 url="http://www.elliotglaysher.org/rlvm/"
8 license=('GPL')
9 depends=('boost-libs>=1.46' glew libmad sdl_mixer sdl_image sdl_ttf)
10 makedepends=(scons boost)
11 source=(https://github.com/eglaysher/rlvm/tarball/release-${pkgver}
12         build.patch)
13 md5sums=('9dbafab7f720f6782c727015012e25fe'
14          'f702633c91148a239fd0457621a311f5')
16 build() {
17   # release commit, for silly directory names
18   commit=bee99d3
19   cd "$srcdir/eglaysher-rlvm-$commit"
21   patch -Np0 < $srcdir/build.patch || return 1
22   scons --release
23   install -D "$srcdir/eglaysher-rlvm-$commit/build/release/rlvm" "$pkgdir/usr/bin/rlvm"
24   install -D "$srcdir/eglaysher-rlvm-$commit/src/Platforms/gtk/rlvm.desktop" "$pkgdir/usr/share/applications/rlvm.desktop"
25   for r in 16 24 32 48 128 256; do
26     install -d "$pkgdir/usr/share/icons/hicolor/${r}x$r"
27     install -D "$srcdir/eglaysher-rlvm-$commit/resources/$r/rlvm.png" "$pkgdir/usr/share/icons/hicolor/${r}x$r/apps/rlvm.png"
28   done
31 # vim:set ts=2 sw=2 et: