diff options
author | Samuel A. Winchenbach | 2015-08-27 09:40:20 -0400 |
---|---|---|
committer | Samuel A. Winchenbach | 2015-08-27 09:40:20 -0400 |
commit | b18171ad452c53512d00cfe9806ce06e121d5983 (patch) | |
tree | 4b4d4da90f56cba528d6ca019da43b7d2a7829d1 | |
download | aur-b18171ad452c53512d00cfe9806ce06e121d5983.tar.gz |
Initial Import
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | PKGBUILD | 43 |
2 files changed, 62 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..260cf9949485 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +pkgbase = avrdude-svn + pkgdesc = AVRDUDE is an utility to download/upload/manipulate the ROM and EEPROM contents of AVR microcontrollers using the in-system programming technique (ISP). + pkgver = 20150506.1356 + pkgrel = 1 + url = http://www.nongnu.org/avrdude/ + arch = i686 + arch = x86_64 + license = GPL + makedepends = svn + depends = libftdi + depends = libusb-compat + depends = elfutils + conflicts = avrdude + conflicts = avrdude-osuisp2-svn + source = avrdude-svn::svn+http://svn.savannah.nongnu.org/svn/avrdude/trunk + md5sums = SKIP + +pkgname = avrdude-svn + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..9b38e380d327 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,43 @@ +# Maintainer: Samuel Ace Winchenbach <swinchen at gmail dot com> +pkgname=avrdude-svn +_pkgname=avrdude +pkgrel=1 +pkgver=20150506.1356 +pkgdesc="AVRDUDE is an utility to download/upload/manipulate the ROM and EEPROM contents of AVR microcontrollers using the in-system programming technique (ISP)." +arch=(i686 x86_64) +url="http://www.nongnu.org/avrdude/" +license=('GPL') +groups=() +depends=('libftdi' 'libusb-compat' 'elfutils') +makedepends=(svn) +optdepends=() +provides=() +conflicts=('avrdude' 'avrdude-osuisp2-svn') +replaces=() +backup=() +options=() +install= +changelog= +source=("${pkgname}::svn+http://svn.savannah.nongnu.org/svn/avrdude/trunk") +noextract=() +md5sums=('SKIP') + +build() { + cd "${srcdir}/${pkgname}/${_pkgname}" + ./bootstrap + ./configure --mandir=/usr/share/man \ + --prefix=/usr \ + --sysconfdir=/etc + make +} + +package() { + cd "${srcdir}/${pkgname}/${_pkgname}" + + make DESTDIR="${pkgdir}/" install +} + +pkgver() { + cd "${srcdir}/${pkgname}" + svn info | awk '/Revision/{r=$2}/Date/{gsub(/-/,"");d=$4}END{print d"."r}' +} |