Advertisement
Guest User

microchip-mplabxc32-bin-v1.42.patch

a guest
Jun 21st, 2016
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.50 KB | None | 0 0
  1. diff --git a/PKGBUILD b/PKGBUILD
  2. index 73e52e1..35bbfd4 100644
  3. --- a/PKGBUILD
  4. +++ b/PKGBUILD
  5. @@ -3,8 +3,8 @@
  6.  
  7.  _number_of_bits=32
  8.  pkgname=microchip-mplabxc${_number_of_bits}-bin
  9. -pkgver=1.40
  10. -pkgrel=4
  11. +pkgver=1.42
  12. +pkgrel=1
  13.  pkgdesc="Microchip's MPLAB XC${_number_of_bits} C compiler toolchain for all of their 32bit microcontrollers"
  14.  arch=(i686 x86_64)
  15.  url=http://www.microchip.com/xc${_number_of_bits}
  16. @@ -19,7 +19,7 @@ options=(!strip docs libtool emptydirs !zipman staticlibs !upx)
  17.  source=("http://ww1.microchip.com/downloads/en/DeviceDoc/xc${_number_of_bits}-v$pkgver-full-install-linux-installer.run"
  18.          "bitrock-unpacker.tcl")
  19.  
  20. -md5sums=('06f3f019001cee7d8792561dc8a8da80'
  21. +md5sums=('78aef27c4fc89264e1678d7a262aedd7'
  22.           '70dedba4c417f8c0bb07c32d19e9d197')
  23.  install=$pkgname.install
  24.  
  25. @@ -36,7 +36,7 @@ package() {
  26.    mv unpacked.vfs/licensecomponent/xclmallBin/bin/{roam.lic,xclm} "${pkgdir}${instdir}/bin"
  27.    sed -i "s/<xclm>/<xclm>\n\t<xclm:LicenseDirectory xclm:path=\"\/opt\/microchip\/xclm\/license\/\" \/>/" \
  28.    unpacked.vfs/licensecomponent/xclmallBin/etc/xclm.conf
  29. -  mv unpacked.vfs/licensecomponent/xclmallBin/etc "${pkgdir}${instdir}"
  30. +  mv unpacked.vfs/licensecomponent/xclmallBin/etc/* "${pkgdir}${instdir}/etc/"
  31.    mv unpacked.vfs/licensecomponent/xclmallDocs "${pkgdir}${instdir}/docs/xclm"
  32.    cp "${pkgdir}${instdir}"/*License.txt "${pkgdir}${instdir}/docs" 2>/dev/null || true
  33.    mv "${pkgdir}${instdir}"/*License.txt "${pkgdir}${instdir}" 2>/dev/null || true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement