summaryrefslogtreecommitdiff
path: root/community/avrdude/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/avrdude/PKGBUILD')
-rw-r--r--community/avrdude/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/community/avrdude/PKGBUILD b/community/avrdude/PKGBUILD
new file mode 100644
index 000000000..109c5fbbb
--- /dev/null
+++ b/community/avrdude/PKGBUILD
@@ -0,0 +1,28 @@
+# $Id: PKGBUILD 33920 2010-11-29 11:20:58Z allan $
+# Contributor: Corrado Primier <bardo@aur.archlinux.org>
+
+pkgname=avrdude
+pkgver=5.10
+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)
+md5sums=('69b082683047e054348088fd63bad2ff')
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+
+ ./configure --mandir=/usr/share/man --prefix=/usr --sysconfdir=/etc
+ make
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+
+ make DESTDIR=${pkgdir} install
+}
+
+# vim:set ts=2 sw=2 et: