# Contributor: Stefan Wagner # Maintainer: Marian Buschsieweke pkgname=avr-libc-git _avrlibc_pkgver=2.1.0 pkgver=0_git20240410 _commit=b5b42a02bebba153e03dce6bec4e0abcb1e5362a provides=avr-libc=$_avrlibc_pkgver pkgrel=0 pkgdesc="The C runtime library for the AVR family of microcontrollers - git version" url="https://github.com/avrdudes/avr-libc" depends="gcc-avr" makedepends=" autoconf automake python3 " arch="x86_64 ppc64le aarch64 x86" license="BSD-3-Clause" subpackages="$pkgname-doc" source=" avr-libc-$_commit.tar.gz::https://github.com/avrdudes/avr-libc/archive/$_commit.tar.gz " builddir="$srcdir/avr-libc-$_commit" build() { ./bootstrap CC=avr-gcc ./configure \ --build="$(/bin/sh config.guess)" \ --host=avr \ --prefix=/usr make } package() { make install DESTDIR="$pkgdir" } sha512sums=" f860084892a576d8ff2c0f3c619543838b79514dd67fc60c98b15417d20daf172ac2581a8ac8200aac7b4b3d7b4a05ee4f0a586990fd82996291a414d510f25c avr-libc-b5b42a02bebba153e03dce6bec4e0abcb1e5362a.tar.gz "