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

Anatol Pomozov anatolik at archlinux.org
Mon Jul 27 21:33:48 UTC 2015


    Date: Monday, July 27, 2015 @ 23:33:47
  Author: anatolik
Revision: 137529

archrelease: copy trunk to community-testing-any

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

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

Copied: avr-libc/repos/community-testing-any/PKGBUILD (from rev 137528, avr-libc/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2015-07-27 21:33:47 UTC (rev 137529)
@@ -0,0 +1,35 @@
+# $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=4
+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)
+makedepends=(subversion)
+options=(!strip) # it corrupts avr libraries
+# 1.8.1 does not support gcc-5.1 http://savannah.nongnu.org/bugs/?44869
+source=(svn://svn.sv.gnu.org/avr-libc/trunk/avr-libc#revision=2480)
+#source=(http://download.savannah.gnu.org/releases/$pkgname/$pkgname-$pkgver.tar.bz2{,.sig})
+md5sums=('SKIP')
+validpgpkeys=('5E84F980C3CAFD4BB5841070F48CA81B69A85873') # Joerg Wunsch
+
+build() {
+  cd $pkgname
+  ./bootstrap
+  ./configure --build=$(./config.guess) --host=avr --prefix=/usr
+  make
+}
+
+package() {
+  cd $pkgname
+  make DESTDIR="$pkgdir" install
+
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}



More information about the arch-commits mailing list