updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / mspdebug / PKGBUILD
blob2a4fd1276960589975e903e189acaa2d4c802079
1 # Maintainer:  Lukas K. <lukas@carrotIndustries.net>
3 pkgname=mspdebug
4 pkgver=0.18
5 pkgrel=2
6 pkgdesc="A free debugger and firmware downloader for the MSP430/CC430 MCU family"
7 arch=('i686' 'x86_64')
8 url="http://mspdebug.sourceforge.net/"
9 license=('GPL')
10 depends=('libusb' 'readline' 'libusb-compat')
11 conflicts=('mspdebug-git')
12 source=(http://downloads.sourceforge.net/project/$pkgname/$pkgname-$pkgver.tar.gz
13 Makefile.patch
14 82-eZ430.rules)
15 install=mspdebug.install
16 md5sums=('8befff126d9c2ad1919d83566be4c9f0'
17          '6643e9ead40df87674255da738ecd8b2'
18          '40f337b67e1b35f4061822e96b284a0c')
21 build() {
22         cd $srcdir/${pkgname}-${pkgver}
23         make clean
24         patch Makefile < $srcdir/Makefile.patch
25         make
26         make PREFIX=$pkgdir/usr install
27         install -D -m 0644 $srcdir/82-eZ430.rules $pkgdir/etc/udev/rules.d/82-eZ430.rules