[arch-commits] Commit in avr-libc/repos (2 files)

Jakob Gruber schuay at nymeria.archlinux.org
Fri Apr 12 11:48:08 UTC 2013


    Date: Friday, April 12, 2013 @ 13:48:07
  Author: schuay
Revision: 88136

archrelease: copy trunk to community-testing-any

Added:
  avr-libc/repos/community-testing-any/
  avr-libc/repos/community-testing-any/PKGBUILD
    (from rev 88135, avr-libc/trunk/PKGBUILD)

----------+
 PKGBUILD |   33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

Copied: avr-libc/repos/community-testing-any/PKGBUILD (from rev 88135, avr-libc/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2013-04-12 11:48:07 UTC (rev 88136)
@@ -0,0 +1,33 @@
+# $Id$
+# Contributor: Corrado Primier <bardo at aur.archlinux.org>
+# Contributor: danst0 <danst0 at west.de>
+
+# Build order: avr-binutils -> avr-gcc -> avr-libc
+
+pkgname=avr-libc
+pkgver=1.8.0
+pkgrel=5
+pkgdesc="The C runtime library for the AVR family of microcontrollers"
+arch=('any')
+url="http://savannah.nongnu.org/projects/avr-libc/"
+license=('BSD')
+depends=('avr-gcc')
+options=('!strip')
+source=(http://download.savannah.gnu.org/releases/$pkgname/$pkgname-$pkgver.tar.bz2{,.sig})
+md5sums=('54c71798f24c96bab206be098062344f'
+         '4dfc58651096f56f49fb07961ea15eee')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  ./configure --build=$(./config.guess) --host=avr --prefix=/usr
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+
+  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:




More information about the arch-commits mailing list