summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorzhanghua0002022-10-31 15:37:41 +0800
committerzhanghua0002022-10-31 15:37:41 +0800
commitb28744a631ddd3b02cddc9d49e760de3269c7601 (patch)
treedf006f8e121ed42bb817f6a37ae92d88e466859a
parent5504438c54db70c89600d811aea9b405da4fd160 (diff)
downloadaur-b28744a631ddd3b02cddc9d49e760de3269c7601.tar.gz
Make aria2 optional
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD4
2 files changed, 4 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 0d53e32d7a9e..d576de9d5135 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,14 @@
pkgbase = ariang-git
pkgdesc = a modern web frontend making aria2 easier to use.
pkgver = 1.2.5.r37.ge095a19
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/mayswind/AriaNg
arch = any
license = MIT
makedepends = git
makedepends = nodejs
makedepends = gulp
- depends = aria2
+ optdepends = aria2: if you use ariang locally
optdepends = apache: for web server
optdepends = caddy: for web server
optdepends = lighttpd: for web server
diff --git a/PKGBUILD b/PKGBUILD
index 3a66d2c85a29..3af1ca89268e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,14 +2,14 @@
pkgname=ariang-git
pkgver=1.2.5.r37.ge095a19
-pkgrel=1
+pkgrel=2
pkgdesc="a modern web frontend making aria2 easier to use."
arch=("any")
url="https://github.com/mayswind/AriaNg"
license=("MIT")
-depends=("aria2")
makedepends=("git" "nodejs" "gulp")
optdepends=(
+ "aria2: if you use ariang locally"
"apache: for web server"
"caddy: for web server"
"lighttpd: for web server"