diff options
author | Frederic Bezies | 2015-07-08 15:13:46 +0200 |
---|---|---|
committer | Frederic Bezies | 2015-07-08 15:13:46 +0200 |
commit | 99b17c51b0438b921315fa02f8502135818a443e (patch) | |
tree | b460b9b1e3e6fc67327a20fae6b882fdd4f7e026 | |
download | aur-99b17c51b0438b921315fa02f8502135818a443e.tar.gz |
initial update on AUR4
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 31 | ||||
-rw-r--r-- | quakespasm-svn.install | 12 |
3 files changed, 61 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..dcd3c98db18a --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = quakespasm-svn + pkgdesc = A modern Quake 1 engine. Forked from Fitzquake and improved in many ways such as Vorbis/MP3 support for music. + pkgver = 1234 + pkgrel = 1 + url = http://quakespasm.sourceforge.net + install = quakespasm-svn.install + arch = i686 + arch = x86_64 + license = GPL2 + makedepends = subversion + depends = libvorbis + depends = libmad + depends = sdl + source = svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm + md5sums = SKIP + +pkgname = quakespasm-svn + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..824f19370186 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: qs9rx < that nick at enjoys döt it> +# Contributor: Christoph Zeiler <rabyte*gmail> (the fitzquake PKGBUILD was a base) +pkgname=quakespasm-svn +pkgver=1234 +pkgrel=1 +pkgdesc="A modern Quake 1 engine. Forked from Fitzquake and improved in many ways such as Vorbis/MP3 support for music." +arch=('i686' 'x86_64') +url="http://quakespasm.sourceforge.net" +license=('GPL2') +depends=('libvorbis' 'libmad' 'sdl') +makedepends=('subversion') +install=$pkgname.install +md5sums=('SKIP') + +source=('svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm') + +pkgver() { + cd "$srcdir/quakespasm" + svnversion +} + +build() { + cd "$srcdir/quakespasm/Quake/" + msg "Starting make..." + make DO_USERDIRS=1 +} + +package() { + cd "$srcdir/quakespasm/Quake/" + install -Dm755 quakespasm "$pkgdir"/usr/bin/$pkgname +} diff --git a/quakespasm-svn.install b/quakespasm-svn.install new file mode 100644 index 000000000000..711637c70167 --- /dev/null +++ b/quakespasm-svn.install @@ -0,0 +1,12 @@ +post_install() { + cat <<- EOF + :: You need the Quake data (.pak) files to play. + :: pak0.pak to play the shareware episode and/or + :: additionally pak1.pak for the whole game. + :: Put them into <YOUR_HOME_DIR>/.quakespasm/id1/ + EOF +} + +post_upgrade() { + post_install $1 +} |