summaryrefslogtreecommitdiff
path: root/rlvm/PKGBUILD
blob: 31140cd1c42aa618c2dee993b4ca1b9af38f713c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Maintainer: Jon Bergli Heier <snakebite@jvnv.net>
pkgname=rlvm
pkgver=0.13.1
pkgrel=1
pkgdesc="RealLive clone for Linux and OSX"
arch=(i686 x86_64)
url="http://www.elliotglaysher.org/rlvm/"
license=('GPL')
depends=('boost-libs>=1.46' glew libmad sdl_mixer sdl_image sdl_ttf)
makedepends=(scons boost)
source=(https://github.com/eglaysher/rlvm/archive/release-${pkgver}.tar.gz)
md5sums=('2a825f38a50893a576c5b02b4a5ec7af')

build() {
  cd "$srcdir/rlvm-release-${pkgver}"

  scons --release

}

package() {
  cd "$srcdir/rlvm-release-${pkgver}"

  install -D "$srcdir/rlvm-release-${pkgver}/build/release/rlvm" "$pkgdir/usr/bin/rlvm"
  install -D "$srcdir/rlvm-release-${pkgver}/src/Platforms/gtk/rlvm.desktop" "$pkgdir/usr/share/applications/rlvm.desktop"
  for r in 16 24 32 48 128 256; do
    install -d "$pkgdir/usr/share/icons/hicolor/${r}x$r"
    install -D "$srcdir/rlvm-release-${pkgver}/resources/$r/rlvm.png" "$pkgdir/usr/share/icons/hicolor/${r}x$r/apps/rlvm.png"
  done
}

# vim:set ts=2 sw=2 et: