diff options
author | Antoine Viallon | 2021-05-27 18:14:02 +0200 |
---|---|---|
committer | Antoine Viallon | 2021-05-27 18:15:52 +0200 |
commit | edb1bcdcd883179904b860cafbe6c6d9eceb22db (patch) | |
tree | 362d6445964469bd8305bebf173a86a11fbd46e3 /PKGBUILD | |
parent | 50fa28583f9824351609e354e30c0066a804c7fa (diff) | |
download | aur-edb1bcdcd883179904b860cafbe6c6d9eceb22db.tar.gz |
Make ananicy an optional dependency
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -2,16 +2,17 @@ pkgname=ananicy-cpp-git _pkgname=ananicy-cpp -pkgver=0.3.0.r7.g8aec019 +pkgver=0.5.0.r0.g90a8529 pkgrel=1 pkgdesc="Ananicy Cpp is a full rewrite of Ananicy in C++, featuring lower CPU and RAM usage." source=("git+https://gitlab.com/aviallon/ananicy-cpp.git") -md5sums=(SKIP) +md5sums=('SKIP') arch=(x86_64 i386 armv7h) -depends=(ananicy fmt spdlog nlohmann-json systemd) +depends=(fmt spdlog nlohmann-json systemd) makedepends=(cmake git gcc) conflicts=(ananicy-cpp) provides=(ananicy-cpp) +optdepends=("ananicy: community rules") pkgver() { cd "$_pkgname" @@ -40,5 +41,7 @@ package() { cd "$_pkgname/build" export DESTDIR="$pkgdir" cmake --install . + + install -m755 -d "$pkgdir/etc/ananicy.d" } |