summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorManuel Coenen2016-07-05 13:01:33 +0200
committerManuel Coenen2016-07-05 13:01:33 +0200
commit37ee6e8878f9b6a976d1951f4e10f1e96b3885be (patch)
tree4e33b07a79e1456d1d9bb437d73bc8a7643d292e /PKGBUILD
parent2cf6995a17534fd338878d8df5139f0027c60ef7 (diff)
downloadaur-37ee6e8878f9b6a976d1951f4e10f1e96b3885be.tar.gz
Use udev rules now provided by upstream
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD9
1 files changed, 4 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index fd695d88bd3..fa37a83a861 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Manuel Coenen <manuel dot coenen at gmail dot com>
_pkgbase=c2_gpio
pkgname=c2_gpio-dkms-git
-pkgver=r48.2d5f58f
+pkgver=r62.2bc8b52
pkgrel=1
pkgdesc="Linux GPIO C2 Bus Master Implementation"
arch=('any')
@@ -16,11 +16,9 @@ conflicts=("${_pkgbase}")
install=${pkgname}.install
source=("${pkgname}::git+git://github.com/dimhoff/si4010prog.git"
'dkms.conf'
-'90-c2_bus.rules'
)
md5sums=('SKIP'
- '76a06cf15c98143494aefa819533f959'
- '4299721bd42e71c877dc0816f60c5ea1')
+ '76a06cf15c98143494aefa819533f959')
pkgver() {
cd "$srcdir/${pkgname}"
@@ -36,7 +34,6 @@ package() {
# Copy dkms.conf
install -Dm644 dkms.conf "${pkgdir}"/usr/src/${_pkgbase}-${pkgver}/dkms.conf
- install -Dm644 90-c2_bus.rules "${pkgdir}"/usr/lib/udev/rules.d/90-c2_bus.rules
# Set name and version
sed -e "s/@_PKGBASE@/${_pkgbase}/" \
@@ -46,4 +43,6 @@ package() {
# Copy sources (including Makefile)
cd "$srcdir/${pkgname}/drivers/c2_gpio"
cp -r * "${pkgdir}"/usr/src/${_pkgbase}-${pkgver}/
+
+ install -Dm644 99-c2_bus.rules "${pkgdir}"/usr/lib/udev/rules.d/99-c2_bus.rules
}