diff options
author | René Wagner | 2021-12-08 15:24:45 +0100 |
---|---|---|
committer | René Wagner | 2021-12-08 15:24:45 +0100 |
commit | ed5765dee115d5e58d285bc168bafd9ccd8dc734 (patch) | |
tree | 4e323aa95a0c3f77915a03a49049d5307f45c6f6 | |
parent | 6ce79aee0a9ea9e0c0444d38596fc8bdf6bc29b1 (diff) | |
download | aur-ed5765dee115d5e58d285bc168bafd9ccd8dc734.tar.gz |
add optional dependencies
-rw-r--r-- | .SRCINFO | 1 | ||||
-rw-r--r-- | PKGBUILD | 3 |
2 files changed, 3 insertions, 1 deletions
@@ -10,6 +10,7 @@ pkgbase = cgmnlm-git makedepends = git makedepends = scdoc depends = bearssl + optdepends = xdg-utils conflicts = gmni-git conflicts = cgmnlm source = cgmnlm-git::git+https://src.clttr.info/rwa/cgmnlm.git @@ -10,12 +10,13 @@ license=('GPL3') source=("${pkgname}::git+https://src.clttr.info/rwa/cgmnlm.git") conflicts=('gmni-git' 'cgmnlm') depends=('bearssl') +optdepends=('xdg-utils') makedepends=('git' 'scdoc') sha256sums=('SKIP') pkgver() { cd "${srcdir}/${pkgname}/" - printf "%s" "$(git describe | sed -r 's/\-/_/g' )" + printf "r%s_%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } build() { |