updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / picp / PKGBUILD
bloba4ef47c183d7241255ad5d17634f728055e0974b
1 # Contributor: Matias De la Puente <mfpuente.ar@gmail.com>
2 # Maintainer: Laszlo Papp <djszapi at gmail com>
3 pkgname=picp
4 pkgver=0.6.8
5 pkgrel=3
6 pkgdesc="Linux command-line interface to Microchip Picstart Plus"
7 arch=('i686')
8 url="http://home.pacbell.net/theposts/picmicro/"
9 license=('GPL')
10 depends=('gcc-libs')
11 source=("http://home.pacbell.net/theposts/picmicro/$pkgname-$pkgver.tar.gz"
12         picdevrc.with_18f2550
13         picp.patch)
14 md5sums=('55fb66b7ebf49fb1e3b687c6a77c4629'
15          '8f062b1db2e7f5a47659b592ce3cb7e0'
16          '776d2b9babfdf3120410a849d6eba3fd')
18 build() {
19     cd ${srcdir}/$pkgname-$pkgver
20     patch -d . -p1 -i ../../picp.patch || return 1
21     make || return 1
22     install -Dm755 ${pkgname} ${pkgdir}/usr/bin/${pkgname} || return 1
23         install -Dm755 picdevrc ${pkgdir}/usr/bin/picdevrc || return 1