summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorx70b12023-07-28 21:17:05 +0200
committerx70b12023-07-28 21:17:05 +0200
commit09773e7734b087b3ece049e4ae37c88ed0577553 (patch)
tree70725a6eaa31b2c11411fa524aaef9bd1a3eeeb6 /PKGBUILD
parent07733f1ff938f0527faa247dbab4bb677adf6cd1 (diff)
downloadaur-09773e7734b087b3ece049e4ae37c88ed0577553.tar.gz
add provides and conflicts fields
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 74c761ce9548..51b6f1fa7c08 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,6 +9,8 @@ url="https://github.com/x70b1/pam_exec-ssh"
license=("The Unlicense")
makedepends=("git")
depends=("pam" "expect")
+provides=("${pkgname%-git}")
+conflicts=("${pkgname%-git}")
source=("${pkgname}::git+${url}.git")
noextract=()
sha256sums=('SKIP')
@@ -22,5 +24,5 @@ pkgver() {
package() {
cd ${pkgname}
- install -Dm755 pam_exec-ssh "${pkgdir}"/usr/bin/pam_exec-ssh
+ install -Dm755 pam_exec-ssh "${pkgdir}/usr/bin/${pkgname%-git}"
}