diff options
author | valdar | 2020-01-21 15:16:23 +0100 |
---|---|---|
committer | valdar | 2020-01-21 15:16:23 +0100 |
commit | 457a378123f7c44f80b4bd97537dceb309ab3fc1 (patch) | |
tree | 2885a21786e5602efa51261d4ff69cc9bf13bbac | |
parent | bd823127848fa70ab736341107e9fc0b365d3248 (diff) | |
download | aur-457a378123f7c44f80b4bd97537dceb309ab3fc1.tar.gz |
Polished man pages extension and added prefsdir= to the build instructions
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 5 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = wesnoth-devel pkgdesc = development version of a turn-based strategy game on a fantasy world pkgver = 1.15.2 - pkgrel = 2 + pkgrel = 3 url = https://www.wesnoth.org/ install = wesnoth-devel.install arch = i686 @@ -2,8 +2,9 @@ #Maintainer: Andrea Tarocchi <valdar@email.it> pkgname=wesnoth-devel +# when changing major version (i.e. 1.15 to 1.1X) remeber to updated the occurences in build() and package() pkgver=1.15.2 -pkgrel=2 +pkgrel=3 pkgdesc="development version of a turn-based strategy game on a fantasy world" arch=('i686' 'x86_64') url="https://www.wesnoth.org/" @@ -65,6 +66,7 @@ build() { #the option build=debug can be useful if the game crashes and you would like to report a bug scons jobs=4 desktop_entry=False prefix=/usr version_suffix=-devel prefsdir=.wesnoth-devel \ docdir=/usr/share/doc/wesnoth-devel fifodir=/run/wesnothd-devel \ + prefsdir=.local/share/wesnoth/1.15 \ appdata_file=False enable_lto=True wesnoth wesnothd } @@ -89,7 +91,7 @@ package(){ # add suffix to manpages (.6 is the file extension) and copy them in the right directory for filename in "$pkgdir"/usr/share/man/{,*/}man6/wesnoth{,d}.6 do - mv "$filename" $(dirname $filename)/$(basename $filename .6)-"$pkgver" + mv "$filename" $(dirname $filename)/$(basename $filename .6)-1.15.6 done # setting dist file |