summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authormaximumadmin2021-02-27 18:09:23 +0900
committermaximumadmin2021-02-27 18:09:23 +0900
commit81a6c0b413402ac0f6d218e8fa8c4dd6c2b96605 (patch)
tree67481ed0560fe931554ebfd4a89820736fb6ee9c
parentb0d664cddcd6480724d47912d94f5ed3ad2bdc9c (diff)
downloadaur-81a6c0b413402ac0f6d218e8fa8c4dd6c2b96605.tar.gz
Add optdepends
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD5
2 files changed, 6 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index cc271ef6b407..b9fd754357dd 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,12 +1,13 @@
pkgbase = zramd
- pkgdesc = Automatically setup swap on zram
+ pkgdesc = Automatically setup swap on zram ✨
pkgver = 0.8.2
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/maximumadmin/zramd
arch = any
license = MIT
makedepends = go
depends = util-linux
+ optdepends = earlyoom: userspace oom daemon
conflicts = systemd-swap
conflicts = zramswap
conflicts = zram-generator
diff --git a/PKGBUILD b/PKGBUILD
index cec695452b62..6058fec9cf22 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,13 +2,14 @@
pkgname=zramd
pkgver=0.8.2
-pkgrel=1
-pkgdesc="Automatically setup swap on zram"
+pkgrel=2
+pkgdesc="Automatically setup swap on zram ✨"
arch=('any')
url="https://github.com/maximumadmin/zramd"
license=('MIT')
depends=('util-linux')
makedepends=('go')
+optdepends=('earlyoom: userspace oom daemon')
conflicts=('systemd-swap' 'zramswap' 'zram-generator' 'zram-generator-git')
source=("https://github.com/maximumadmin/$pkgname/archive/$pkgver.tar.gz")
sha256sums=('610f260e839ce17962c88dfee435a166a241cf2568df7619260dc432d060b380')