diff options
author | Sandy Carter | 2021-10-30 08:39:17 -0400 |
---|---|---|
committer | Sandy Carter | 2021-10-30 08:39:17 -0400 |
commit | b3f5832d6269bf492bdd916b87d3097898e09d1d (patch) | |
tree | f2869fd06e1ce7aaa774a82adb82676ebe90f68f | |
parent | e8ac624d90b543ca323a6ab68cdfd7a6c3ab037b (diff) | |
download | aur-b3f5832d6269bf492bdd916b87d3097898e09d1d.tar.gz |
Add imgui submodule deps
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 10 |
2 files changed, 10 insertions, 5 deletions
@@ -1,7 +1,7 @@ pkgbase = openblack-git pkgdesc = Open source reimplementation of the game Black & White (2001). - pkgver = r1039.51cb468 - pkgrel = 2 + pkgver = r1103.ac816c1 + pkgrel = 1 url = https://github.com/openblack/openblack arch = x86_64 license = GPL3 @@ -22,4 +22,3 @@ pkgbase = openblack-git sha256sums = SKIP pkgname = openblack-git - @@ -1,6 +1,6 @@ pkgname=openblack-git -pkgver=r1039.51cb468 -pkgrel=2 +pkgver=r1103.ac816c1 +pkgrel=1 pkgdesc="Open source reimplementation of the game Black & White (2001)." arch=('x86_64') url="https://github.com/openblack/openblack" @@ -14,6 +14,11 @@ provides=("${pkgname%-git}") source=('git://github.com/openblack/openblack.git') sha256sums=('SKIP') +prepare() { + cd "${srcdir}/${pkgname%-git}" + git submodule update --init externals/imgui +} + pkgver() { cd "${srcdir}/${pkgname%-git}" printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" @@ -22,6 +27,7 @@ pkgver() { build() { cd "${srcdir}/${pkgname%-git}" cmake -DCMAKE_INSTALL_PREFIX=/usr \ + -DOPENBLACK_USE_BUNDLED_BGFX=OFF \ -DCMAKE_BUILD_TYPE=RelWithDebInfo cmake --build . } |