[arch-commits] Commit in arm-none-eabi-newlib/trunk (PKGBUILD)

Anatol Pomozov anatolik at archlinux.org
Tue Feb 3 19:20:14 UTC 2015


    Date: Tuesday, February 3, 2015 @ 20:20:13
  Author: anatolik
Revision: 127049

upgpkg: arm-none-eabi-newlib 2.2.0-2

Modified:
  arm-none-eabi-newlib/trunk/PKGBUILD

----------+
 PKGBUILD |   13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-02-03 18:44:41 UTC (rev 127048)
+++ PKGBUILD	2015-02-03 19:20:13 UTC (rev 127049)
@@ -4,7 +4,8 @@
 _target=arm-none-eabi
 pkgname=$_target-newlib
 pkgver=2.2.0
-pkgrel=1
+pkgrel=2
+_upstream_ver=$pkgver-1
 pkgdesc='A C standard library implementation intended for use on embedded systems (ARM bare metal)'
 arch=(any)
 url='http://www.sourceware.org/newlib/'
@@ -11,8 +12,8 @@
 license=(BSD)
 makedepends=($_target-gcc)
 options=(!emptydirs !strip)
-source=(ftp://sourceware.org/pub/newlib/newlib-$pkgver.tar.gz)
-sha1sums=('16fc7bc82e445341b9e741a3fc57b818691fa375')
+source=(ftp://sourceware.org/pub/newlib/newlib-$_upstream_ver.tar.gz)
+sha1sums=('ab7d18171fb02f4647881c91be52bbf19882ad3d')
 
 build() {
   rm -rf build-{newlib,nano}
@@ -20,7 +21,7 @@
 
   export CFLAGS_FOR_TARGET='-g -O2 -ffunction-sections -fdata-sections'
   cd "$srcdir"/build-newlib
-  ../newlib-$pkgver/configure \
+  ../newlib-$_upstream_ver/configure \
     --target=$_target \
     --prefix=/usr \
     --disable-newlib-supplied-syscalls \
@@ -31,7 +32,7 @@
 
   export CFLAGS_FOR_TARGET='-g -Os -ffunction-sections -fdata-sections'
   cd "$srcdir"/build-nano
-  ../newlib-$pkgver/configure \
+  ../newlib-$_upstream_ver/configure \
     --target=$_target \
     --prefix=/usr \
     --disable-newlib-supplied-syscalls \
@@ -61,5 +62,5 @@
   rm "$pkgdir"/usr/share/info/*.info
 
   install -d "$pkgdir"/usr/share/licenses/$pkgname/
-  install -m644 -t "$pkgdir"/usr/share/licenses/$pkgname/ "$srcdir"/newlib-$pkgver/COPYING*
+  install -m644 -t "$pkgdir"/usr/share/licenses/$pkgname/ "$srcdir"/newlib-$_upstream_ver/COPYING*
 }



More information about the arch-commits mailing list