PKGBUILD tweaking

This commit is contained in:
Frederic Bezies 2016-08-15 14:20:37 +02:00
parent ff51979546
commit 333daaea2a
3 changed files with 16 additions and 8 deletions

View File

@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
# Tue Jul 26 12:33:40 UTC 2016
# Mon Aug 15 12:20:22 UTC 2016
pkgbase = quakespasm
pkgdesc = A modern Quake 1 engine. Forked from Fitzquake. Stable version with Mission pack desktop files.
pkgdesc = A modern Quake 1 engine. Forked from Fitzquake. Stable version with optional Mission pack desktop files.
pkgver = 0.92.0
pkgrel = 4
pkgrel = 5
url = http://quakespasm.sourceforge.net
install = quakespasm.install
arch = i686

View File

@ -2,8 +2,8 @@
pkgname=quakespasm
pkgver=0.92.0
pkgrel=4
pkgdesc="A modern Quake 1 engine. Forked from Fitzquake. Stable version with Mission pack desktop files."
pkgrel=5
pkgdesc="A modern Quake 1 engine. Forked from Fitzquake. Stable version with optional Mission pack desktop files."
arch=('i686' 'x86_64')
url="http://quakespasm.sourceforge.net"
license=('GPL2')
@ -36,7 +36,12 @@ package() {
done
install -Dm644 $srcdir/$pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop
install -Dm644 $srcdir/$pkgname-mp1.desktop $pkgdir/usr/share/applications/$pkgname-mp1.desktop
install -Dm644 $srcdir/$pkgname-mp2.desktop $pkgdir/usr/share/applications/$pkgname-mp2.desktop
install -Dm644 $srcdir/$pkgname-impel.desktop $pkgdir/usr/share/applications/$pkgname-impel.desktop
#
# Uncomment lines depending on the mission pack(s)
# or extension you have.
#
# install -Dm644 $srcdir/$pkgname-mp1.desktop $pkgdir/usr/share/applications/$pkgname-mp1.desktop
# install -Dm644 $srcdir/$pkgname-mp2.desktop $pkgdir/usr/share/applications/$pkgname-mp2.desktop
# install -Dm644 $srcdir/$pkgname-impel.desktop $pkgdir/usr/share/applications/$pkgname-impel.desktop
}

View File

@ -5,6 +5,9 @@ post_install() {
:: additionally pak1.pak for the whole game.
:: Put them into <YOUR_HOME_DIR>/.quakespasm/id1/
:: If you have uncommented line in package(),
:: Here is how to install MPs and extensions.
:: There is desktop file for Mission Pack 1 (hipnotic)
:: Mission Pack 2 (rogue)
:: and for Abyss of Pandemonium (impel)