feat: add sudo as optional dependency

This commit is contained in:
bryanpedini committed 2026-10-10 10:37:51 +02:00
1 parent 6d009f5617
commit b40f2219f8
2 files changed
+4 -2

No files matched your search

+2 -1
View File
@@ -1,12 +1,13 @@
pkgbase = pman-helper pkgbase = pman-helper
pkgdesc = A pacman helper script, because you forget all the stupid flags pkgdesc = A pacman helper script, because you forget all the stupid flags
pkgver = 1.4.0 pkgver = 1.4.0
pkgrel = 1 pkgrel = 2
url = https://git.bjphoster.com/source/pman url = https://git.bjphoster.com/source/pman
arch = any arch = any
license = MIT license = MIT
depends = bash depends = bash
depends = pacman depends = pacman
optdepends = sudo: run pacman as root when invoked unprivileged
conflicts = pman conflicts = pman
source = https://git.bjphoster.com/source/pman/archive/1.4.0.tar.gz source = https://git.bjphoster.com/source/pman/archive/1.4.0.tar.gz
sha256sums = 0026ab2d951c224c8b7bac3b4e89c9997c8b58a8cfcd5ed59a8133a42c8688af sha256sums = 0026ab2d951c224c8b7bac3b4e89c9997c8b58a8cfcd5ed59a8133a42c8688af
+2 -1
View File
@@ -3,12 +3,13 @@
_pkgname="pman" _pkgname="pman"
pkgname="${_pkgname}-helper" pkgname="${_pkgname}-helper"
pkgver="1.4.0" pkgver="1.4.0"
pkgrel="1" pkgrel="2"
pkgdesc="A pacman helper script, because you forget all the stupid flags" pkgdesc="A pacman helper script, because you forget all the stupid flags"
url="https://git.bjphoster.com/source/${_pkgname}" url="https://git.bjphoster.com/source/${_pkgname}"
arch=("any") arch=("any")
license=("MIT") license=("MIT")
depends=("bash" "pacman") depends=("bash" "pacman")
optdepends=("sudo: run pacman as root when invoked unprivileged")
conflicts=("pman") # Another package called `pman` currently exists in the AUR conflicts=("pman") # Another package called `pman` currently exists in the AUR
source=("https://git.bjphoster.com/source/${_pkgname}/archive/${pkgver}.tar.gz") source=("https://git.bjphoster.com/source/${_pkgname}/archive/${pkgver}.tar.gz")