summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas K2015-07-05 22:48:55 +0200
committerLukas K2015-07-05 22:48:55 +0200
commited21b113e4afd950de76572c256e4b17cf2cd169 (patch)
treeb216e40392448a27976b72464adce1ec187d42d0
downloadaur-ed21b113e4afd950de76572c256e4b17cf2cd169.tar.gz
Initial import
-rw-r--r--.SRCINFO19
-rw-r--r--82-eZ430.rules2
-rw-r--r--PKGBUILD28
3 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..dcdb1907886
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = mspdebug
+ pkgdesc = A free debugger and firmware downloader for the MSP430/CC430 MCU family
+ pkgver = 0.23
+ pkgrel = 1
+ url = http://mspdebug.sourceforge.net/
+ arch = i686
+ arch = x86_64
+ license = GPL
+ depends = libusb
+ depends = readline
+ depends = libusb-compat
+ conflicts = mspdebug-git
+ source = http://downloads.sourceforge.net/project/mspdebug/mspdebug-0.23.tar.gz
+ source = 82-eZ430.rules
+ md5sums = 639d3be539b1954fbd39aaab0515ec47
+ md5sums = 40f337b67e1b35f4061822e96b284a0c
+
+pkgname = mspdebug
+
diff --git a/82-eZ430.rules b/82-eZ430.rules
new file mode 100644
index 00000000000..3c7a7178fb2
--- /dev/null
+++ b/82-eZ430.rules
@@ -0,0 +1,2 @@
+ATTRS{idVendor}=="0451", ATTRS{idProduct}=="f432", GROUP="users", MODE="0660"
+ATTRS{idVendor}=="15ba", ATTRS{idProduct}=="0031", GROUP="users", MODE="0660"
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..efe0afdd8b2
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Lukas K. <lukas@carrotIndustries.net>
+
+pkgname=mspdebug
+pkgver=0.23
+pkgrel=1
+pkgdesc="A free debugger and firmware downloader for the MSP430/CC430 MCU family"
+arch=('i686' 'x86_64')
+url="http://mspdebug.sourceforge.net/"
+license=('GPL')
+depends=('libusb' 'readline' 'libusb-compat')
+conflicts=('mspdebug-git')
+source=(http://downloads.sourceforge.net/project/$pkgname/$pkgname-$pkgver.tar.gz
+82-eZ430.rules)
+
+md5sums=('639d3be539b1954fbd39aaab0515ec47'
+ '40f337b67e1b35f4061822e96b284a0c')
+
+build() {
+ cd $srcdir/${pkgname}-${pkgver}
+ make clean
+ make ${MAKEFLAGS} PREFIX=/usr
+}
+
+package() {
+ cd $srcdir/${pkgname}-${pkgver}
+ make PREFIX=$pkgdir/usr install
+ install -D -m 0644 $srcdir/82-eZ430.rules $pkgdir/etc/udev/rules.d/82-eZ430.rules
+}