[arch-commits] Commit in avr-libc/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Fri Nov 9 23:34:11 UTC 2018
Date: Friday, November 9, 2018 @ 23:34:11
Author: foutrelis
Revision: 405319
archrelease: copy trunk to community-staging-any
Added:
avr-libc/repos/community-staging-any/
avr-libc/repos/community-staging-any/PKGBUILD
(from rev 405318, avr-libc/trunk/PKGBUILD)
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: avr-libc/repos/community-staging-any/PKGBUILD (from rev 405318, avr-libc/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2018-11-09 23:34:11 UTC (rev 405319)
@@ -0,0 +1,32 @@
+# 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=3
+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