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 | |
parent | 50fa28583f9824351609e354e30c0066a804c7fa (diff) | |
download | aur-edb1bcdcd883179904b860cafbe6c6d9eceb22db.tar.gz |
Make ananicy an optional dependency
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 8 insertions, 5 deletions
@@ -1,6 +1,6 @@ pkgbase = ananicy-cpp-git pkgdesc = Ananicy Cpp is a full rewrite of Ananicy in C++, featuring lower CPU and RAM usage. - pkgver = 0.3.0.r7.g8aec019 + pkgver = 0.5.0.r0.g90a8529 pkgrel = 1 arch = x86_64 arch = i386 @@ -8,11 +8,11 @@ pkgbase = ananicy-cpp-git makedepends = cmake makedepends = git makedepends = gcc - depends = ananicy depends = fmt depends = spdlog depends = nlohmann-json depends = systemd + optdepends = ananicy: community rules provides = ananicy-cpp conflicts = ananicy-cpp source = git+https://gitlab.com/aviallon/ananicy-cpp.git @@ -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" } |