summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTony Lambiris2018-12-14 16:46:02 -0500
committerTony Lambiris2018-12-14 16:46:02 -0500
commitc2976f8342b41e06a6e0d91462eba1ae8e6bf951 (patch)
tree1354985628acd6c136bdc88dce03227788399a73
parentb94c928ff6ded14749acc33e6acea720b4ca6079 (diff)
downloadaur-c2976f8342b41e06a6e0d91462eba1ae8e6bf951.tar.gz
Add conflicts/provides for system76-io-dkms
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD5
2 files changed, 7 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index cbcbf688353e..b861639e9772 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,11 +1,13 @@
pkgbase = system76-io-dkms-git
pkgdesc = This DKMS driver provides airplane mode, keyboard backlight, and fan support for System76 laptops
pkgver = 19
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/pop-os/system76-io-dkms
arch = x86_64
license = GPL3
depends = dkms
+ provides = system76-io-dkms
+ conflicts = system76-io-dkms
source = system76-io-dkms::git+https://github.com/pop-os/system76-io-dkms.git
source = system76-io.conf
sha256sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index 9e5d97f5ad1e..12ac6bba958d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,12 +3,14 @@
pkgname=system76-io-dkms-git
_pkgname=system76-io-dkms
pkgver=19
-pkgrel=1
+pkgrel=2
pkgdesc="This DKMS driver provides airplane mode, keyboard backlight, and fan support for System76 laptops"
arch=('x86_64')
url="https://github.com/pop-os/system76-io-dkms"
license=('GPL3')
depends=('dkms')
+conflicts=(system76-io-dkms)
+provides=(system76-io-dkms)
source=("${_pkgname}::git+https://github.com/pop-os/${_pkgname}.git"
'system76-io.conf')
sha256sums=('SKIP'
@@ -16,6 +18,7 @@ sha256sums=('SKIP'
pkgver() {
cd ${srcdir}/${_pkgname}
+
git rev-list --count HEAD
}