summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 5 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b02c2881485d..c0648c6a4bf0 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 6fb5c00a4cba..1b55f177c66f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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