[arch-commits] Commit in avr-gcc/trunk (PKGBUILD)
Anatol Pomozov
anatolik at archlinux.org
Sat May 4 07:29:27 UTC 2019
Date: Saturday, May 4, 2019 @ 07:29:26
Author: anatolik
Revision: 458820
upgpkg: avr-gcc 9.1.0-1
Modified:
avr-gcc/trunk/PKGBUILD
----------+
PKGBUILD | 23 ++++++++++++-----------
1 file changed, 12 insertions(+), 11 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-05-04 04:14:28 UTC (rev 458819)
+++ PKGBUILD 2019-05-04 07:29:26 UTC (rev 458820)
@@ -5,16 +5,17 @@
# Build order: avr-binutils -> avr-gcc -> avr-libc
-pkgname=avr-gcc
-pkgver=8.3.0
+_target=avr
+pkgname=$_target-gcc
+pkgver=9.1.0
+_islver=0.21
pkgrel=1
#_snapshot=7-20180125
-_islver=0.20
pkgdesc='The GNU AVR Compiler Collection'
arch=(x86_64)
license=(GPL LGPL FDL custom)
url='http://gcc.gnu.org/'
-depends=(avr-binutils gcc-libs libmpc)
+depends=($_target-binutils gcc-libs libmpc)
optdepends=('avr-libc: Standard C library for Atmel AVR development')
options=(!emptydirs !strip)
source=(https://ftp.gnu.org/gnu/gcc/gcc-$pkgver/gcc-$pkgver.tar.xz{,.sig}
@@ -21,9 +22,9 @@
#ftp://gcc.gnu.org/pub/gcc/snapshots/${_snapshot}/gcc-${_snapshot}.tar.xz
http://isl.gforge.inria.fr/isl-${_islver}.tar.bz2
)
-sha256sums=('64baadfe6cc0f4947a84cb12d7f0dfaf45bb58b7e92461639596c21e02d97d2c'
+sha256sums=('79a66834e96a6050d8fe78db2c3b32fb285b230b855d0a66288235bc04b327a0'
'SKIP'
- 'b587e083eb65a8b394e833dea1744f21af3f0e413a448c17536b5549ae42a4c2')
+ 'd18ca11f8ad1a39ab6d03d3dcb3365ab416720fcb65b42d69f34f51bf0a0e859')
validpgpkeys=(33C235A34C46AA3FFB293709A328C3A2C3C45C06) # Jakub Jelinek <jakub at redhat.com>
if [ -n "${_snapshot}" ]; then
@@ -79,11 +80,11 @@
--libexecdir=/usr/lib \
--mandir=/usr/share/man \
--prefix=/usr \
- --target=avr \
- --with-as=/usr/bin/avr-as \
+ --target=$_target \
+ --with-as=/usr/bin/$_target-as \
--with-gnu-as \
--with-gnu-ld \
- --with-ld=/usr/bin/avr-ld \
+ --with-ld=/usr/bin/$_target-ld \
--with-plugin-ld=ld.gold \
--with-system-zlib \
--with-isl \
@@ -99,11 +100,11 @@
# Strip debug symbols from libraries; without this, the package size balloons to ~500MB.
find ${pkgdir}/usr/lib -type f -name "*.a" \
- -exec /usr/bin/avr-strip --strip-debug '{}' \;
+ -exec /usr/bin/$_target-strip --strip-debug '{}' \;
# Install Runtime Library Exception
install -Dm644 ${srcdir}/${_basedir}/COPYING.RUNTIME \
- ${pkgdir}/usr/share/licenses/avr-gcc/RUNTIME.LIBRARY.EXCEPTION
+ ${pkgdir}/usr/share/licenses/$_target-gcc/RUNTIME.LIBRARY.EXCEPTION
rm -r ${pkgdir}/usr/share/man/man7
rm -r ${pkgdir}/usr/share/info
More information about the arch-commits
mailing list