summaryrefslogtreecommitdiff
path: root/community/avrdude/PKGBUILD
blob: 9d71d347bcc8e54024d6e7bd2864504ec04a892f (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 81870 2013-01-02 15:51:02Z jelle $
# Contributor: Corrado Primier <bardo@aur.archlinux.org>
# Maintainer: Brad Fanella <bradfanella@archlinux.us>

pkgname=avrdude
pkgver=5.11.1
pkgrel=2
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=('libusb-compat' 'readline')
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
}