summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel M. Capella2019-10-31 23:14:15 -0400
committerDaniel M. Capella2019-10-31 23:14:15 -0400
commitb0c6caeace3490eff52aff1669a64120b0900057 (patch)
tree504726a5712ad391dce52ad48cd3fd045a26db9d
parentefb09758a44e01499af9aee9498fcc500ec20738 (diff)
downloadaur-b0c6caeace3490eff52aff1669a64120b0900057.tar.gz
Add sudo optdep
-rw-r--r--.SRCINFO1
-rw-r--r--PKGBUILD3
2 files changed, 3 insertions, 1 deletions
diff --git a/.SRCINFO b/.SRCINFO
index fecc2b00e19..8897c21aeef 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -12,6 +12,7 @@ pkgbase = pacman-contrib-git
depends = perl
optdepends = findutils: pacdiff
optdepends = mlocate: pacdiff
+ optdepends = sudo: privilege elevation for several scripts
provides = pacman-contrib
conflicts = pacman-contrib
source = git+https://git.archlinux.org/pacman-contrib.git
diff --git a/PKGBUILD b/PKGBUILD
index e10378adfa8..8c5d4e347ad 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -12,7 +12,8 @@ license=('GPL')
depends=('fakeroot' 'pacman' 'perl')
makedepends=('asciidoc' 'git')
optdepends=('findutils: pacdiff'
- 'mlocate: pacdiff')
+ 'mlocate: pacdiff'
+ 'sudo: privilege elevation for several scripts')
provides=("$_gitname")
conflicts=("$_gitname")
source=('git+https://git.archlinux.org/pacman-contrib.git')