diff options
author | FabioLolix | 2023-10-15 10:49:54 +0200 |
---|---|---|
committer | FabioLolix | 2023-10-15 10:49:54 +0200 |
commit | 3a4a5b0cb1e9fb27d3cb612b85136768bb168cba (patch) | |
tree | 1291a0570e9389ce13b0579c60ddff71f572d00d | |
parent | 1adafd01ffa9cd8e922a73ef232fde76206e3339 (diff) | |
download | aur-vegastrike.tar.gz |
revision
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 6 insertions, 5 deletions
@@ -9,7 +9,7 @@ pkgbase = vegastrike makedepends = cmake depends = vegastrike-engine options = !strip - source = git+https://github.com/vegastrike/Assets-Production#tag=v0.8.0 + source = Vega-Strike-Assets-Production::git+https://github.com/vegastrike/Assets-Production#tag=v0.8.0 sha256sums = SKIP pkgname = vegastrike @@ -11,14 +11,15 @@ license=(GPL2) depends=(vegastrike-engine) makedepends=(git cmake) options=(!strip) -source=("git+https://github.com/vegastrike/Assets-Production#tag=v${pkgver}") +source=("Vega-Strike-Assets-Production::git+https://github.com/vegastrike/Assets-Production#tag=v${pkgver}") sha256sums=('SKIP') build(){ - cmake -DCMAKE_INSTALL_PREFIX=/usr "${srcdir}"/Assets-Production/CMakeLists.txt + cmake -B build -S "Vega-Strike-Assets-Production" -Wno-dev \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + -DCMAKE_INSTALL_PREFIX=/usr } package() { - make -C "${srcdir}" DESTDIR="${pkgdir}" install + DESTDIR="$pkgdir" cmake --install build } - |