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

Anatol Pomozov anatolik at archlinux.org
Wed Aug 20 20:03:41 UTC 2014


    Date: Wednesday, August 20, 2014 @ 22:03:41
  Author: anatolik
Revision: 117676

archrelease: copy trunk to community-testing-any

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

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

Copied: avr-libc/repos/community-testing-any/PKGBUILD (from rev 117675, avr-libc/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2014-08-20 20:03:41 UTC (rev 117676)
@@ -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.1
+pkgrel=1
+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=('staticlibs' '!strip')
+source=(http://download.savannah.gnu.org/releases/$pkgname/$pkgname-$pkgver.tar.bz2{,.sig})
+md5sums=('0caccead59eaaa61ac3f060ca3a803ef'
+         'SKIP')
+
+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