summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKuldeep Singh Dhaka2016-12-21 17:18:10 +0530
committerKuldeep Singh Dhaka2016-12-21 17:18:10 +0530
commit77583dfdb5b6c676262b704198bf1f0e3995c285 (patch)
treeb5964250fe23fefe30b7389502812057a25a5c72
parentaf2c55c6f5a0af9b6f28665ea72321c00c7b3bdf (diff)
downloadaur-77583dfdb5b6c676262b704198bf1f0e3995c285.tar.gz
udev file is available in source.
-rw-r--r--.SRCINFO6
-rw-r--r--27-box0-v5.rules5
-rw-r--r--PKGBUILD11
3 files changed, 8 insertions, 14 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2be227b4873..14edfd4d186 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Mon Dec 19 19:55:08 UTC 2016
+# Wed Dec 21 11:46:03 UTC 2016
pkgbase = libbox0-git
pkgdesc = C library for communicating with Box0 implementations
- pkgver = 61.7555f0e
+ pkgver = 62.6355ffa
pkgrel = 1
url = https://www.madresistor.org/box0
arch = i686
@@ -15,9 +15,7 @@ pkgbase = libbox0-git
conflicts = libbox0
replaces = libbox0
source = git+https://gitlab.com/madresistor/libbox0.git
- source = 27-box0-v5.rules
md5sums = SKIP
- md5sums = 6eacc71be1f5f212d4976bab8ddd6a13
pkgname = libbox0-git
diff --git a/27-box0-v5.rules b/27-box0-v5.rules
deleted file mode 100644
index 4ddc7d89e96..00000000000
--- a/27-box0-v5.rules
+++ /dev/null
@@ -1,5 +0,0 @@
-# box0-v5
-SUBSYSTEM=="usb", ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="8085", MODE:="0666"
-
-# STM32F072 in DFU mode (Firmware Update
-SUBSYSTEM=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="df11", MODE="0666"
diff --git a/PKGBUILD b/PKGBUILD
index 645cec42308..19d86e85a93 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=libbox0-git
_pkgname=libbox0
-pkgver=61.7555f0e
+pkgver=62.6355ffa
pkgrel=1
pkgdesc="C library for communicating with Box0 implementations"
arch=('i686' 'x86_64')
@@ -11,10 +11,10 @@ license=('GPL')
provides=(libbox0)
conflicts=(libbox0)
replaces=(libbox0)
-source=("git+https://gitlab.com/madresistor/$_pkgname.git" "27-box0-v5.rules")
+source=("git+https://gitlab.com/madresistor/$_pkgname.git")
depends=('libusb')
makedepends=('cmake' 'git')
-md5sums=('SKIP' '6eacc71be1f5f212d4976bab8ddd6a13')
+md5sums=('SKIP')
pkgver() {
@@ -38,6 +38,7 @@ build() {
}
package() {
- install -Dm644 "$srcdir/27-box0-v5.rules" "$pkgdir/usr/lib/udev/rules.d/27-box0-v5.rules"
- make -C "$srcdir/$_pkgname/build" DESTDIR="${pkgdir}" install
+ cd "$srcdir/$_pkgname"
+ install -Dm644 "extra/udev/27-box0-v5.rules" "$pkgdir/usr/lib/udev/rules.d/27-box0-v5.rules"
+ make -C "build" DESTDIR="${pkgdir}" install
}