summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorvaldar2017-01-19 21:05:13 +0000
committervaldar2017-01-19 21:05:13 +0000
commitf566f20853954f575e8b2681a7acc6811e9805c2 (patch)
tree096075626c70b565122eec21e56c8d3271c8de34
parentd38bf03019e2ecbe9904e446a61f8efcef3bb292 (diff)
downloadaur-f566f20853954f575e8b2681a7acc6811e9805c2.tar.gz
enanched PKBUILD with advices from shiki
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD14
2 files changed, 10 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ad98fe0dda4..517fa20918c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Thu Jan 19 16:56:26 UTC 2017
+# Thu Jan 19 21:03:30 UTC 2017
pkgbase = wesnoth-devel
pkgdesc = development version of a turn-based strategy game on a fantasy world
pkgver = 1.13.6
- pkgrel = 1
+ pkgrel = 2
url = http://www.wesnoth.org/
install = wesnoth-devel.install
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index 39c7cb3efef..0241e5c9fab 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=wesnoth-devel
pkgver=1.13.6
-pkgrel=1
+pkgrel=2
pkgdesc="development version of a turn-based strategy game on a fantasy world"
arch=('i686' 'x86_64')
url="http://www.wesnoth.org/"
@@ -29,6 +29,8 @@ md5sums=('ebfc1f936db5c46bd85b747aa7317ab2'
'959aea3af36e7b2a1be6bf4537ec54b7'
'5182ce65c28a8bd62043c3a7fc09e642')
+PKGEXT='.pkg.tar'
+
prepare() {
cd "${srcdir}/wesnoth-$pkgver"
@@ -47,7 +49,7 @@ build() {
#gcc 6 patching
#patch -p1 < ../../patch_gcc6.patch
- scons prefix=/usr program_suffix=-devel datadirname=wesnoth-devel prefsdir=.wesnoth-devel fifodir=/run/wesnothd-devel \
+ scons jobs=4 desktop_entry=False prefix=/usr program_suffix=-devel datadirname=wesnoth-devel prefsdir=.wesnoth-devel fifodir=/run/wesnothd-devel \
boostdir=/usr/include boostlibdir=/usr/include \
localedir=/usr/share/locale docdir=/usr/share/doc/wesnoth-devel mandir=/usr/share/man/wesnoth-devel python_site_packages_dir=/lib/python/site-packages/wesnoth wesnoth wesnothd campaignd
}
@@ -68,10 +70,10 @@ package(){
#chmod +x ${pkgdir}/var/run/wesnothd-devel
#chmod o+r ${pkgdir}/var/run/wesnothd-devel
- rm -f ${pkgdir}/usr/share/applications/wesnoth.desktop
- rm -f ${pkgdir}/usr/share/applications/wesnoth_editor.desktop
- rm -f ${pkgdir}/usr/share/icons/wesnoth-icon.png
- rm -f ${pkgdir}/usr/share/icons/wesnoth_editor-icon.png
+ #rm -f ${pkgdir}/usr/share/applications/wesnoth.desktop
+ #rm -f ${pkgdir}/usr/share/applications/wesnoth_editor.desktop
+ #rm -f ${pkgdir}/usr/share/icons/wesnoth-icon.png
+ #rm -f ${pkgdir}/usr/share/icons/wesnoth_editor-icon.png
rm -rf ${pkgdir}/run/wesnothd-devel/
rm -rf ${pkgdir}/run/