# Maintainer: David P. pkgname=avr-libc pkgver=2.0.0 pkgrel=1 pkgdesc='The C runtime library for the AVR family of microcontrollers' arch=(any) url='http://savannah.nongnu.org/projects/avr-libc/' license=('custom:BSD') depends=(avr-gcc) options=('staticlibs' '!strip') source=("http://download.savannah.gnu.org/releases/avr-libc/avr-libc-$pkgver.tar.bz2") sha512sums=('fc8d062043d633350dbe05978935dcb8028257a4f1013f246af9658aef0671def19ac11577d1ee9302df68df1b8cf030b22441d96852e185db212263aacabea6') build() { cd avr-libc-$pkgver ./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/COPYING }