summaryrefslogtreecommitdiff
path: root/community/avrdude/PKGBUILD
blob: d0c903298a7b52a752e81b8f8fe1715d0e5f2ecf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# $Id: PKGBUILD 55068 2011-09-02 00:01:59Z bfanella $
# Contributor: Corrado Primier <bardo@aur.archlinux.org>
# Maintainer: Brad Fanella <bradfanella@archlinux.us>

pkgname=avrdude
pkgver=5.11
pkgrel=1
pkgdesc="Download/upload/manipulate the ROM and EEPROM contents of AVR microcontrollers"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.nongnu.org/avrdude/"
license=('GPL')
depends=('libusb-compat' 'readline')
source=(http://download.savannah.gnu.org/releases/avrdude/${pkgname}-${pkgver}.tar.gz)
md5sums=('ba62697270b1292146dc56d462f5da14')

build() {
	cd "${srcdir}/${pkgname}-${pkgver}"

  	./configure --mandir=/usr/share/man \
		    --prefix=/usr \
		    --sysconfdir=/etc
  	make
}

package() {
  	cd "${srcdir}/${pkgname}-${pkgver}"

	make DESTDIR=${pkgdir} install
}