diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 26 |
1 files changed, 18 insertions, 8 deletions
@@ -2,7 +2,7 @@ pkgname=bugdom pkgver=1.3.3 -pkgrel=1 +pkgrel=2 pkgdesc="Save Bugdom from Thorax's evil Fire Ants" arch=('x86_64') url='https://github.com/jorio/Bugdom' @@ -12,7 +12,7 @@ makedepends=('cmake' 'git') _commit='85e88ea7cde3cd63f94fbd0cac6358f7d33b1c66' source=( "$pkgname::git+$url.git#commit=$_commit" - 'git+https://github.com/jorio/Pomme.git' + 'github.com-jorio-Pomme::git+https://github.com/jorio/Pomme' "$pkgname.desktop" "$pkgname.sh" ) @@ -29,17 +29,27 @@ pkgver() { prepare() { cd "$pkgname" + + # setup git submodules git submodule init - git config submodule.Pomme.url ../Pomme - git submodule update - cmake -S . -B build \ - -DCMAKE_BUILD_TYPE=None \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -Wno-dev + git config submodule.Pomme.url "$srcdir/github.com-jorio-Pomme" + git -c protocol.file.allow=always submodule update + + # ftbfs: gcc 13 & cstdint headers + cd extern/Pomme + git cherry-pick --no-commit d57c28e205462e51063e787f9ebddaadff592f1e } build() { cd "$pkgname" + + cmake \ + -S . \ + -B build \ + -D CMAKE_BUILD_TYPE=None \ + -D CMAKE_INSTALL_PREFIX=/usr \ + -W no-dev + cmake --build build } |