[arch-commits] Commit in avr-libc/repos (2 files)
Anatol Pomozov
anatolik at archlinux.org
Sat Dec 27 15:44:38 UTC 2014
Date: Saturday, December 27, 2014 @ 16:44:38
Author: anatolik
Revision: 124710
archrelease: copy trunk to community-testing-any
Added:
avr-libc/repos/community-testing-any/
avr-libc/repos/community-testing-any/PKGBUILD
(from rev 124709, avr-libc/trunk/PKGBUILD)
----------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
Copied: avr-libc/repos/community-testing-any/PKGBUILD (from rev 124709, avr-libc/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD (rev 0)
+++ community-testing-any/PKGBUILD 2014-12-27 15:44:38 UTC (rev 124710)
@@ -0,0 +1,34 @@
+# $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=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')
+source=(http://download.savannah.gnu.org/releases/$pkgname/$pkgname-$pkgver.tar.bz2{,.sig})
+md5sums=('0caccead59eaaa61ac3f060ca3a803ef'
+ 'SKIP')
+validpgpkeys=(5E84F980C3CAFD4BB5841070F48CA81B69A85873)
+
+build() {
+ cd "${pkgname}-${pkgver}"
+ ./configure --build=$(./config.guess) --host=avr --prefix=/usr
+ make
+}
+
+package() {
+ cd "${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