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 /PKGBUILD | |
parent | 1adafd01ffa9cd8e922a73ef232fde76206e3339 (diff) | |
download | aur-vegastrike.tar.gz |
revision
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -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 } - |