[arch-commits] Commit in avr-libc/repos (2 files)
Anatol Pomozov
anatolik at archlinux.org
Tue May 10 15:51:59 UTC 2016
Date: Tuesday, May 10, 2016 @ 17:51:59
Author: anatolik
Revision: 174570
archrelease: copy trunk to community-testing-any
Added:
avr-libc/repos/community-testing-any/
avr-libc/repos/community-testing-any/PKGBUILD
(from rev 174569, avr-libc/trunk/PKGBUILD)
----------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
Copied: avr-libc/repos/community-testing-any/PKGBUILD (from rev 174569, avr-libc/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD (rev 0)
+++ community-testing-any/PKGBUILD 2016-05-10 15:51:59 UTC (rev 174570)
@@ -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=2.0.0
+pkgrel=2
+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) # it corrupts avr libraries
+source=(http://download.savannah.gnu.org/releases/$pkgname/$pkgname-$pkgver.tar.bz2{,.sig})
+sha1sums=('c46b4c92bd88339f4d8d9bce29893661be890845'
+ 'SKIP')
+validpgpkeys=('5E84F980C3CAFD4BB5841070F48CA81B69A85873') # Joerg Wunsch
+
+build() {
+ cd avr-libc-$pkgver
+ ./bootstrap
+ ./configure --build=$(./config.guess) --host=avr --prefix=/usr
+ make
+}
+
+package() {
+ cd avr-libc-$pkgver
+ make DESTDIR="$pkgdir" install
+
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
More information about the arch-commits
mailing list