diff options
author | Thomas Krug | 2015-06-14 20:41:01 +0200 |
---|---|---|
committer | Thomas Krug | 2015-06-14 20:41:01 +0200 |
commit | a535c0bcc3c7b51a8454b9ba899698ca74a9c3d2 (patch) | |
tree | a7a444be4674759a85c2d8a775d0ee0ae6033e78 | |
download | aur-a535c0bcc3c7b51a8454b9ba899698ca74a9c3d2.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | PKGBUILD | 47 |
2 files changed, 66 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..c6ebb2af32d6 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +pkgbase = avr-libc-svn + pkgdesc = The C runtime library for the AVR family of microcontrollers + pkgver = 2454 + pkgrel = 1 + url = http://savannah.nongnu.org/projects/avr-libc/ + arch = any + license = BSD + makedepends = svn + depends = avr-gcc + provides = avr-libc + conflicts = avr-libc + options = !strip + options = libtool + options = staticlibs + source = avr-libc::svn+http://svn.savannah.nongnu.org/svn/avr-libc/trunk/avr-libc/ + md5sums = SKIP + +pkgname = avr-libc-svn + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..9d02917af03a --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,47 @@ +# Maintainer: Thomas Krug <t.krug@elektronenpumpe.de> +# Contributor: Corrado Primier <bardo@aur.archlinux.org> +# Contributor: danst0 <danst0@west.de> +# Contributor: Tim Besard <tim.besard@gmail.com> + +pkgname=avr-libc-svn +_pkgname=avr-libc +pkgver=2454 +pkgrel=1 +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') +makedepends=('svn') +provides=('avr-libc') +conflicts=('avr-libc') +options=('!strip' 'libtool' 'staticlibs') +source=("$_pkgname"::'svn+http://svn.savannah.nongnu.org/svn/avr-libc/trunk/avr-libc/') +md5sums=('SKIP') + +pkgver() { + cd "$srcdir/$_pkgname" + + echo "$(svnversion)" +} + +build() { + cd "$srcdir/$_pkgname" + + unset CFLAGS + unset CXXFLAGS + unset LDFLAGS + + ./bootstrap + ./configure --build=$(./config.guess) --host=avr --prefix=/usr + make +} + +package() { + cd "$srcdir/$_pkgname" + + make DESTDIR=${pkgdir} install + install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/COPYING +} + +# vim:set ts=2 sw=2 et: |