summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: db300356873063874dc82cad62b90b2c2c3bda79 (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
36
# Maintainer: Mark Vainomaa <mikroskeem round around a mikroskeem dot eu>
# Old 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=1640
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')
provides=('quakespasm')
install=${pkgname}.install
source=('svn+https://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm')
sha256sums=('SKIP')

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 -D -m 755 quakespasm "${pkgdir}/usr/bin/${pkgname}"
}