summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoão Figueiredo2022-08-16 22:45:34 +0100
committerJoão Figueiredo2022-08-16 22:45:34 +0100
commit4dbfe00dc38e280bd1315166cd14355792e5b7c9 (patch)
treecfc361a8912143784c747178925a1afc012557c9
parent5a4b60954ba9dbb22dddba1a7515329d364637fe (diff)
downloadaur-4dbfe00dc38e280bd1315166cd14355792e5b7c9.tar.gz
Add conflicts() and provides()
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD4
2 files changed, 6 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a8903a4f1946..d5013eaa0716 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = pam_usb-git
pkgdesc = Hardware authentication for Linux using ordinary flash media (USB & Card based).
pkgver = 0.8.2_r500.g7a785de
- pkgrel = 3
+ pkgrel = 4
url = https://github.com/mcdope/pam_usb
arch = x86_64
license = GPL2
@@ -9,6 +9,8 @@ pkgbase = pam_usb-git
depends = python-gobject
depends = libxml2
depends = udisks2
+ provides = pam_usb
+ conflicts = pam_usb
options = !emptydirs
backup = etc/security/pam_usb.conf
source = git+https://github.com/mcdope/pam_usb
diff --git a/PKGBUILD b/PKGBUILD
index ea179d357cda..5cfe059a9086 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,13 +3,15 @@
pkgname=pam_usb-git
pkgver=0.8.2_r500.g7a785de
-pkgrel=3
+pkgrel=4
pkgdesc='Hardware authentication for Linux using ordinary flash media (USB & Card based).'
arch=($CARCH)
url='https://github.com/mcdope/pam_usb'
license=(GPL2)
depends=(python-gobject libxml2 udisks2)
makedepends=(git)
+conflicts=(${pkgname%-git})
+provides=(${pkgname%-git})
options=(!emptydirs)
backup=("etc/security/pam_usb.conf")
source=("git+$url"