summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 85ebd696a3dc13bc96448701c59d3b2f5cc9743a (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
33
34
35
# Maintainer: Frederic Bezies < fredbezies at gmail dot com >
# Contributor: qs9rx < that nick at enjoys döt it>
# Contributor: Christoph Zeiler <rabyte*gmail> (the fitzquake PKGBUILD was a base)
pkgname=quakespasm-svn
_pkgname=quakespasm
pkgver=1607
pkgrel=1
pkgdesc="A modern Quake 1 engine. Forked from Fitzquake and improved in many ways such as Vorbis/MP3 support for music. - Development version"
arch=('i686' 'x86_64')
url="http://quakespasm.sourceforge.net"
license=('GPL2')
depends=('libvorbis' 'libmad' 'sdl2')
makedepends=('subversion')
conflicts=('quakespasm')
sha1sums=('SKIP')
install=$pkgname.install

source=('svn+https://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm')

pkgver() {
  cd "$srcdir/$_pkgname"
  svnversion
}

build() {
  cd "$srcdir/$_pkgname/Quake/"
  msg "Starting make..."
  make DO_USERDIRS=1 USE_SDL2=1
}

package() {
  cd "$srcdir/$_pkgname/Quake/"
  install -Dm755 quakespasm "$pkgdir"/usr/bin/$pkgname
}