summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authormakepkg2020-08-28 19:30:37 +0200
committermakepkg2020-08-28 19:30:37 +0200
commit5218f5d4d21787d3f2e118498cef7788a3e90a54 (patch)
treef3db4f43c5248a29fecd2641899f98e016c8c881
parentfb02f017095128f936da7df2a697a3663b5f1517 (diff)
downloadaur-5218f5d4d21787d3f2e118498cef7788a3e90a54.tar.gz
Enabled parallel build: make -j "$(nproc)".
-rw-r--r--.SRCINFO9
-rw-r--r--PKGBUILD7
2 files changed, 9 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1a81c2e4d2e..dcaab941a1d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = widelands-git
pkgdesc = An elaborate realtime multiplayer strategy game with emphasis on economy and transport - development version. In the spirit of BlueByte's 'Siedler II/ Settlers 2'.
- pkgver = 20+r24473_20200312_510e0dd
- pkgrel = 1
+ pkgver = 21+r24821_20200828_7f72ddf
+ pkgrel = 2
epoch = 0
url = http://widelands.org/
arch = i686
@@ -9,6 +9,7 @@ pkgbase = widelands-git
license = GPL2
makedepends = boost
makedepends = cmake
+ makedepends = coreutils
makedepends = doxygen
makedepends = git
makedepends = graphviz
@@ -22,11 +23,11 @@ pkgbase = widelands-git
depends = sdl2_mixer
depends = sdl2_ttf
depends = zlib
- provides = widelands=20+r24473_20200312_510e0dd
+ provides = widelands=21+r24821_20200828_7f72ddf
conflicts = widelands
conflicts = widelands-bzr
conflicts = widelands-data
- replaces = widelands-bzr<=20+r24473_20200312_510e0dd
+ replaces = widelands-bzr<=21+r24821_20200828_7f72ddf
options = !strip
source = widelands::git+git://github.com/widelands/widelands.git
sha256sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index ec949227454..b87088475a9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,8 +6,8 @@ _pkgname=widelands
pkgname="${_pkgname}-git"
epoch=0
_pkgver=latest
-pkgver=20+r24473_20200312_510e0dd
-pkgrel=1
+pkgver=21+r24821_20200828_7f72ddf
+pkgrel=2
pkgdesc="An elaborate realtime multiplayer strategy game with emphasis on economy and transport - development version. In the spirit of BlueByte's 'Siedler II/ Settlers 2'."
url="http://widelands.org/"
arch=('i686' 'x86_64')
@@ -26,6 +26,7 @@ depends=(
makedepends=(
'boost'
'cmake' # For configuring the build
+ 'coreutils' # For `nproc`
'doxygen' # For documentation (?)
'git' # For getting the source
'graphviz' # For documentation (?)
@@ -186,7 +187,7 @@ build() {
..
msg2 'Running `make` ...'
- make
+ make -j "$(nproc)"
# msg2 'Running `make lang` ...'
# make lang ## Seems not to be needed; seems to be done already with the general `make`-call.
}