diff options
author | Antoine Viallon | 2022-01-12 23:11:57 +0100 |
---|---|---|
committer | Antoine Viallon | 2022-01-12 23:11:57 +0100 |
commit | 44677c949bca9c25b4c16bde0a7adcd6b3f3f4d5 (patch) | |
tree | c3e44942e9677fc37be38b6059cdea9bb09c9055 /PKGBUILD | |
parent | fa1e620f7f1badeab1521c5882a6434df683045e (diff) | |
download | aur-44677c949bca9c25b4c16bde0a7adcd6b3f3f4d5.tar.gz |
Cleanup build and fix install function
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -3,7 +3,7 @@ pkgname=ananicy-cpp _pkgver=1.0.0-rc5 pkgver=${_pkgver//-/.} -pkgrel=1 +pkgrel=2 pkgdesc="Ananicy Cpp is a full rewrite of Ananicy in C++, featuring lower CPU and RAM usage." url="https://gitlab.com/ananicy-cpp/ananicy-cpp/" license=(GPLv3) @@ -31,16 +31,16 @@ prepare() { } build() { - cd "$pkgname-v${_pkgver}/build" + cd "$pkgname-v${_pkgver}" - cmake --build . + cmake --build build } package() { - cd "$pkgname-v${_pkgver}/build" + cd "$pkgname-v${_pkgver}" export DESTDIR="$pkgdir" - cmake --install . + cmake --install build --component Runtime install -m755 -d "$pkgdir/etc/ananicy.d" } |