summaryrefslogtreecommitdiff
path: root/manualPorts/avrdude/PKGBUILD
blob: e7887a8a31c763b4873b5377b3d4f8e6274a91a2 (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
31
32
# $Id$
# Contributor: Corrado Primier <bardo@aur.archlinux.org>
# Maintainer: Brad Fanella <bradfanella@archlinux.us>

pkgname=avrdude
pkgver=6.3
pkgrel=1
epoch=1
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=('readline' 'libftdi' 'libusb-compat' 'elfutils')
source=(http://download.savannah.gnu.org/releases/avrdude/${pkgname}-${pkgver}.tar.gz{,.sig})
validpgpkeys=('EF497ABE47ED91B3FC3D7EA54D902FF7723BDEE9' '5E84F980C3CAFD4BB5841070F48CA81B69A85873')
md5sums=('58bb42049122cf80fe4f4d0ce36d92ee'
         'SKIP')

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

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

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

	make DESTDIR="${pkgdir}" install
}