Skip to content

Instantly share code, notes, and snippets.

@hypothermic
Created February 28, 2023 12:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hypothermic/a2f3674bae5038e86a59793c3dc73163 to your computer and use it in GitHub Desktop.
Save hypothermic/a2f3674bae5038e86a59793c3dc73163 to your computer and use it in GitHub Desktop.
microchip-mplabxc32bin AUR package update to 4.21 diff
From 74240373a2d38f495755ab2899df9bf0d9c781ec Mon Sep 17 00:00:00 2001
From: hypothermic <32428346+hypothermic@users.noreply.github.com>
Date: Tue, 28 Feb 2023 13:56:33 +0100
Subject: [PATCH] Update to 4.21
---
.SRCINFO | 6 ++++--
PKGBUILD | 9 +++++----
2 files changed, 9 insertions(+), 6 deletions(-)
diff --git a/.SRCINFO b/.SRCINFO
index ebe8340..58faf01 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,12 +1,13 @@
pkgbase = microchip-mplabxc32-bin
pkgdesc = Microchip's MPLAB XC32 C compiler toolchain for all of their 32bit microcontrollers
- pkgver = 2.50
+ pkgver = 4.21
pkgrel = 1
url = https://www.microchip.com/development-tools/downloads-archive
install = microchip-mplabxc32-bin.install
arch = x86_64
license = custom
makedepends = bitrock-unpacker
+ makedepends = rsync
depends = gcc-libs
options = !strip
options = docs
@@ -14,8 +15,9 @@ pkgbase = microchip-mplabxc32-bin
options = emptydirs
options = !zipman
options = staticlibs
- source = http://ww1.microchip.com/downloads/en/DeviceDoc/xc32-v2.50-full-install-linux-installer.run
+ source = https://ww1.microchip.com/downloads/aemDocuments/documents/DEV/ProductDocuments/SoftwareTools/xc32-v4.21-full-install-linux-x64-installer.run
md5sums = 5eff2f242d424b51d0986631f1e0eb83
+ sha256sums = 2c69429ecc0c2adb76c94691770543f91d4a0c4609c1338ccf41c69b6d10bd11
pkgname = microchip-mplabxc32-bin
diff --git a/PKGBUILD b/PKGBUILD
index 00387bb..ce41bba 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,19 +4,19 @@
_number_of_bits=32
pkgname=microchip-mplabxc${_number_of_bits}-bin
-pkgver=2.50
+pkgver=4.21
pkgrel=1
pkgdesc="Microchip's MPLAB XC${_number_of_bits} C compiler toolchain for all of their 32bit microcontrollers"
arch=(x86_64)
url=https://www.microchip.com/development-tools/downloads-archive
license=(custom)
depends=(gcc-libs)
-makedepends=(bitrock-unpacker)
+makedepends=(bitrock-unpacker rsync)
options=(!strip docs libtool emptydirs !zipman staticlibs)
-source=("http://ww1.microchip.com/downloads/en/DeviceDoc/xc${_number_of_bits}-v$pkgver-full-install-linux-installer.run")
+source=("https://ww1.microchip.com/downloads/aemDocuments/documents/DEV/ProductDocuments/SoftwareTools/xc${_number_of_bits}-v$pkgver-full-install-linux-x64-installer.run")
-md5sums=('5eff2f242d424b51d0986631f1e0eb83')
+sha256sums=('2c69429ecc0c2adb76c94691770543f91d4a0c4609c1338ccf41c69b6d10bd11')
install=$pkgname.install
@@ -50,3 +50,4 @@ package() {
# https://github.com/cv007/XC3216
echo -en "*cc1:+ -mafrlcsj\n\n*cc1plus:+ -mafrlcsj" > "${pkgdir}${instdir}/lib/gcc/specs"
}
+
--
2.39.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment