Initial AUR4 commit

master
Frederic Bezies 2016-07-04 10:28:21 +02:00
commit 1334e502cb
3 changed files with 59 additions and 0 deletions

20
.SRCINFO Normal file
View File

@ -0,0 +1,20 @@
# Generated by mksrcinfo v8
# Mon Jul 4 08:27:59 UTC 2016
pkgbase = quakespasm
pkgdesc = A modern Quake 1 engine. Forked from Fitzquake and improved in many ways such as Vorbis/MP3 support for music. Stable version
pkgver = 0.92.0
pkgrel = 1
url = http://quakespasm.sourceforge.net
install = quakespasm.install
arch = i686
arch = x86_64
license = GPL2
makedepends = subversion
depends = libvorbis
depends = libmad
depends = sdl2
source = https://sourceforge.net/projects/quakespasm/files/Source/quakespasm-0.92.0.tgz
md5sums = d7ba2b9eaca198f32f60eeabc1f02db1
pkgname = quakespasm

27
PKGBUILD Normal file
View File

@ -0,0 +1,27 @@
# Maintainer: Frederic Bezies < fredbezies at gmail dot com >
pkgname=quakespasm
pkgver=0.92.0
pkgrel=1
pkgdesc="A modern Quake 1 engine. Forked from Fitzquake and improved in many ways such as Vorbis/MP3 support for music. Stable version"
arch=('i686' 'x86_64')
url="http://quakespasm.sourceforge.net"
license=('GPL2')
depends=('libvorbis' 'libmad' 'sdl2')
makedepends=('subversion')
install=$pkgname.install
source=(https://sourceforge.net/projects/quakespasm/files/Source/$pkgname-$pkgver.tgz)
md5sums=('d7ba2b9eaca198f32f60eeabc1f02db1')
build() {
cd "$srcdir/$pkgname-$pkgver/Quake/"
msg "Starting make..."
make DO_USERDIRS=1 USE_SDL2=1
}
package() {
cd "$srcdir/$pkgname-$pkgver/Quake/"
install -Dm755 quakespasm "$pkgdir"/usr/bin/$pkgname
}

12
quakespasm.install Normal file
View File

@ -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
}