Guest User

rm-linux-gnueabihf-gcc-linaro-bin 7.4-1 PKGBUILD

a guest
Aug 27th, 2019
188
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Maintainer: Vincent Cheung <coolingfall@gmail.com>
  2.  
  3. _target=arm-linux-gnueabihf
  4. _pkgdate=2019.02
  5.  
  6.  
  7. pkgname=${_target}-gcc-linaro-bin
  8. pkgver=7.4
  9. pkgrel=1
  10. epoch=
  11. pkgdesc="The GNU Compiler Collection - cross compiler for ARM EABI hard float target."
  12. arch=('x86_64')
  13. url="http://www.linaro.org/downloads/"
  14. license=('GPL' 'LGPL')
  15. groups=(${_target}-toolchain-linaro-bin)
  16. depends=()
  17. makedepends=()
  18. checkdepends=()
  19. optdepends=()
  20. provides=()
  21. conflicts=("${_target}-gcc")
  22. replaces=("${_target}-gcc")
  23. backup=()
  24. options=(!emptydirs !strip staticlibs)
  25. install=
  26. changelog=
  27. source=(http://releases.linaro.org/components/toolchain/binaries/${pkgver}-${_pkgdate}/${_target}/gcc-linaro-${pkgver}.1-${_pkgdate}-x86_64_${_target}.tar.xz)
  28. sha512sums=('c93b226093606081ea71c88c3a1dea3f509553e9ed0a30578ee003e91a35711fab94496704369824855a0b46642f77cc7d0dc47cfbd51cf08773efd473a02964')
  29.  
  30.  
  31. package() {
  32.     mkdir -p ${pkgdir}/usr
  33.     cp -a ${srcdir}/gcc-linaro-${pkgver}.1-${_pkgdate}-x86_64_${_target}/* ${pkgdir}/usr
  34.  
  35.     rm -f   ${pkgdir}/usr/*-manifest.txt
  36.     rm -f   ${pkgdir}/usr/bin/runtest
  37.     rm -f   ${pkgdir}/usr/lib/lib*
  38.     rm -rf  ${pkgdir}/usr/include
  39.     rm -rf  ${pkgdir}/usr/share/{dejagnu,doc,gcc-*,gdb,info,locale}
  40.     rm -rf  ${pkgdir}/usr/share/man/{man1/runtest.1,man5,man7}
  41. }
RAW Paste Data