summaryrefslogtreecommitdiff
path: root/community/avrdude/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/avrdude/PKGBUILD')
-rw-r--r--community/avrdude/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/community/avrdude/PKGBUILD b/community/avrdude/PKGBUILD
new file mode 100644
index 000000000..9262a5e85
--- /dev/null
+++ b/community/avrdude/PKGBUILD
@@ -0,0 +1,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
+}