summaryrefslogtreecommitdiff
path: root/community/avrdude/PKGBUILD
blob: 9262a5e858660584751170cbf211bde9684d9338 (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
30
# $Id: PKGBUILD 92157 2013-06-01 20:12:04Z jelle $
# Contributor: Corrado Primier <bardo@aur.archlinux.org>
# Maintainer: Brad Fanella <bradfanella@archlinux.us>

pkgname=avrdude
pkgver=5.11.1
pkgrel=4
pkgdesc="Download/upload/manipulate the ROM and EEPROM contents of AVR microcontrollers"
arch=('i686' 'x86_64')
url="http://www.nongnu.org/avrdude/"
license=('GPL')
depends=('libusbx' 'readline' 'libftdi')
source=(http://download.savannah.gnu.org/releases/avrdude/${pkgname}-${pkgver}.tar.gz{,.sig})
md5sums=('3a43e288cb32916703b6945e3f260df9'
                 '0c23b005d4090aef4e081476aabc1958')

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

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

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

	make DESTDIR=${pkgdir} install
}