diff options
-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 } - |