diff options
author | smls | 2016-02-15 11:16:11 +0100 |
---|---|---|
committer | smls | 2016-02-15 11:36:10 +0100 |
commit | 2670c880feaba8f6fbb41e23ef81c8030a953ba1 (patch) | |
tree | bed20372a7e29cfd9f0e679cc5ca9b3221235bf3 | |
parent | 116b7b4f51cef42465f143130bd00ff5d9e9be4a (diff) | |
download | aur-2670c880feaba8f6fbb41e23ef81c8030a953ba1.tar.gz |
add OSE version number to pkgver
Also, make a more verbose version string appear in the main menu in
the game.
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 13 |
2 files changed, 13 insertions, 6 deletions
@@ -1,6 +1,8 @@ +# Generated by mksrcinfo v8 +# Mon Feb 15 10:35:01 UTC 2016 pkgbase = aquaria-ose-git - pkgdesc = A 2D fantasy underwater action-adventure game (improved engine, a.k.a. Open Source Edition) - pkgver = 1.1.3+g485.8d6b65c + pkgdesc = A 2D fantasy underwater action-adventure game (Open Source Edition of the engine = original v1.1.3 + many improvements) + pkgver = 1.1.3+o1.002+g609.d8da857 pkgrel = 1 url = https://github.com/AquariaOSE/Aquaria install = aquaria-ose-git.install @@ -1,10 +1,12 @@ # Maintainer: Sam S. <smls75@gmail.com> pkgname=aquaria-ose-git -pkgver=1.1.3+g485.8d6b65c -_basever=1.1.3 +_installname=aquaria-ose +pkgver=1.1.3+o1.002+g609.d8da857 +_osever=1.002 +_basever=1.1.3+o$_osever pkgrel=1 -pkgdesc="A 2D fantasy underwater action-adventure game (improved engine a.k.a. Open Source Edition)" +pkgdesc="A 2D fantasy underwater action-adventure game (Open Source Edition of the engine = original v1.1.3 + many improvements)" url='https://github.com/AquariaOSE/Aquaria' arch=('i686' 'x86_64') license=('GPL') @@ -27,7 +29,9 @@ pkgver() { build() { cd $_gitname + _ver="$_osever revision $(git rev-parse --short HEAD)" cmake -DAQUARIA_DEFAULT_DATA_DIR=/usr/share/aquaria \ + -DAQUARIA_OVERRIDE_VERSION_STRING="Aquaria OSE $_ver (based on Aquaria v1.1.3)" \ -DAQUARIA_USE_SDL2=1 make } @@ -43,5 +47,6 @@ package() { cp -r "$srcdir/$_gitname"/{game_scripts,files}/* usr/share/aquaria/override # Install desktop entry - install -Dm644 "$srcdir/$pkgname.desktop" usr/share/applications/$pkgname.desktop + install -Dm644 "$srcdir"/$_installname.desktop \ + usr/share/applications/$_installname.desktop } |