summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan-Henrik Bruhn2021-05-21 19:39:45 +0200
committerJan-Henrik Bruhn2021-05-21 19:39:53 +0200
commitece9ab11075486210dfe5525e9446e59ece6d20c (patch)
treebe263642a71ca70e838fc72b2487c9a2594fd60d
downloadaur-avr-libc-18.tar.gz
Initial Commit
-rw-r--r--.SRCINFO17
-rw-r--r--.gitignore8
-rw-r--r--PKGBUILD34
3 files changed, 59 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..fa0df79c342
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = avr-libc-18
+ pkgdesc = The C runtime library for the AVR family of microcontrollers
+ pkgver = 1.8.1
+ pkgrel = 1
+ url = http://savannah.nongnu.org/projects/avr-libc/
+ arch = i686
+ arch = x86_64
+ license = BSD
+ depends = avr-gcc
+ provides = avr-libc=1.8.1
+ conflicts = avr-libc
+ options = !strip
+ source = http://savannah.nongnu.org/download/avr-libc/avr-libc-1.8.1.tar.bz2
+ md5sums = 0caccead59eaaa61ac3f060ca3a803ef
+
+pkgname = avr-libc-18
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..5cf4da41ae7
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,8 @@
+src
+pkg
+*.tar.xz
+*.tar.gz
+*.tar.zst
+*.tar.bz2
+*.log
+.psci_modules
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..431fe92e8d5
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,34 @@
+# $Id: PKGBUILD,v 1.5 2009/07/12 18:22:32 cprimier Exp $
+# Maintainer: jhbruhn <aur@jhbruhn.de>
+# Contributor: Corrado Primier <bardo@aur.archlinux.org>
+# Contributor: danst0 <danst0@west.de>
+
+_pkgname=avr-libc
+pkgname=$_pkgname-18
+pkgver=1.8.1
+pkgrel=1
+pkgdesc="The C runtime library for the AVR family of microcontrollers"
+provides=("$_pkgname=$pkgver")
+conflicts=("$_pkgname")
+arch=('i686' 'x86_64')
+url="http://savannah.nongnu.org/projects/avr-libc/"
+license=('BSD')
+depends=('avr-gcc')
+options=(!strip)
+source=(http://savannah.nongnu.org/download/avr-libc/${_pkgname}-${pkgver}.tar.bz2)
+md5sums=('0caccead59eaaa61ac3f060ca3a803ef')
+
+build() {
+ cd ${srcdir}/${_pkgname}-${pkgver}
+
+ ./configure --build=$(./config.guess) --host=avr --prefix=/usr
+ make || return 1
+}
+package() {
+ cd ${srcdir}/${_pkgname}-${pkgver}
+ make DESTDIR=${pkgdir} install || return 1
+ install -Dm644 ${srcdir}/${_pkgname}-${pkgver}/LICENSE \
+ ${pkgdir}/usr/share/licenses/${_pkgname}/COPYING
+}
+
+# vim:set ts=2 sw=2 et: