diff options
author | Frederic Bezies | 2016-05-21 18:37:23 +0200 |
---|---|---|
committer | Frederic Bezies | 2016-05-21 18:37:23 +0200 |
commit | e25307e80b1d81757325b03cb1966ecb3547bbea (patch) | |
tree | 24380a187abf791227b9ca06ea7bf891b9a69bf0 | |
parent | c03196bf7026152521f27ab1a4b17b1ff2a08388 (diff) | |
download | aur-e25307e80b1d81757325b03cb1966ecb3547bbea.tar.gz |
Install file needed for post-install use
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 4 | ||||
-rw-r--r-- | quakespasm-svn.install | 12 |
3 files changed, 18 insertions, 3 deletions
@@ -1,10 +1,11 @@ # Generated by mksrcinfo v8 -# Thu May 19 17:26:48 UTC 2016 +# Sat May 21 16:36:46 UTC 2016 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 = 1303 - pkgrel = 1 + pkgrel = 2 url = http://quakespasm.sourceforge.net + install = quakespasm-svn.install arch = i686 arch = x86_64 license = GPL2 @@ -4,7 +4,7 @@ pkgname=quakespasm-svn _pkgname=quakespasm pkgver=1303 -pkgrel=1 +pkgrel=2 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" @@ -12,6 +12,7 @@ license=('GPL2') depends=('libvorbis' 'libmad' 'sdl2') makedepends=('subversion') md5sums=('SKIP') +install=$pkgname.install source=('svn+https://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm') @@ -30,3 +31,4 @@ package() { cd "$srcdir/$_pkgname/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 +} |