summaryrefslogtreecommitdiff
path: root/rlvm/PKGBUILD
blob: 6ce67059ddcb33a1ced0da27e7a4a688108b3456 (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
# Maintainer: Jon Bergli Heier <snakebite@jvnv.net>
pkgname=rlvm
pkgver=0.11
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/tarball/release-${pkgver}
        build.patch)
md5sums=('1474521ca1a1c6bbb72594001f110a76'
         '3cb364727ba04f80982f918f55e7911c')

build() {
  # release commit, for silly directory names
  commit=2af821f
  cd "$srcdir/eglaysher-rlvm-$commit"

  patch -p1 < $srcdir/build.patch || return 1
  scons --release
  mkdir -p "$pkgdir/usr/bin"
  install "$srcdir/eglaysher-rlvm-$commit/build/release/rlvm" "$pkgdir/usr/bin/"
}

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