diff options
author | xiota | 2023-10-14 03:46:58 -0700 |
---|---|---|
committer | xiota | 2023-10-14 03:48:17 -0700 |
commit | 031903e5b1fe26c19925ff68a243b2503b178ebc (patch) | |
tree | c64bd5b7efe1bc661e3abffba5b4e5350a35c26e | |
parent | 85e08700bacb9acf29c9aad8cb4f8b219deef9c8 (diff) | |
download | aur-031903e5b1fe26c19925ff68a243b2503b178ebc.tar.gz |
2.45
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | .gitignore | 11 | ||||
-rw-r--r-- | PKGBUILD | 32 |
3 files changed, 29 insertions, 22 deletions
@@ -1,8 +1,8 @@ pkgbase = microchip-mplabxc8-bin pkgdesc = Microchip's MPLAB XC8 C compiler toolchain for their PIC10/12/16/18 microcontroller families and their PIC14000 device - pkgver = 2.36 + pkgver = 2.45 pkgrel = 1 - url = http://www.microchip.com/mplab/compilers + url = https://www.microchip.com/mplab/compilers install = microchip-mplabxc8-bin.install arch = x86_64 license = custom @@ -16,7 +16,7 @@ pkgbase = microchip-mplabxc8-bin options = emptydirs options = !zipman options = staticlibs - source = http://ww1.microchip.com/downloads/en/DeviceDoc/xc8-v2.36-full-install-linux-x64-installer.run - md5sums = e7be40f083398ec9d1abe2eefd26b88a + source = xc8-v2.45-full-install-linux-x64-installer.run::https://ww1.microchip.com/downloads/aemDocuments/documents/DEV/ProductDocuments/SoftwareTools/xc8-v2.45-full-install-linux-x64-installer.run + sha256sums = 3a48acd8150be7807ef10738fb9f915bc30963b385ce25fb84d151df49e13656 pkgname = microchip-mplabxc8-bin diff --git a/.gitignore b/.gitignore index 766d77dd7af1..018a3de08144 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,4 @@ -*.tar.gz -*.tar.xz -src/ -pkg/ -*.run -*.pkg.tar -*.xml +* +!PKGBUILD +!.SRCINFO +!.gitignore @@ -1,31 +1,41 @@ -# Maintainer: Grey Christoforo <first name at last name dot net> +# Maintainer: +# Contributor: Grey Christoforo <first name at last name dot net> # Contributer: mickael9 <mickael9 at gmail dot com> _number_of_bits=8 pkgname=microchip-mplabxc${_number_of_bits}-bin -pkgver=2.36 +pkgver=2.45 pkgrel=1 pkgdesc="Microchip's MPLAB XC${_number_of_bits} C compiler toolchain for their PIC10/12/16/18 microcontroller families and their PIC14000 device" arch=(x86_64) -url=http://www.microchip.com/mplab/compilers +url="https://www.microchip.com/mplab/compilers" license=(custom) + depends=(gcc-libs) makedepends=(bitrock-unpacker tclkit) + conflicts=(lib32-tclkit) +install=$pkgname.install + options=(!strip docs libtool emptydirs !zipman staticlibs ) -source=("http://ww1.microchip.com/downloads/en/DeviceDoc/xc${_number_of_bits}-v${pkgver}-full-install-linux-x64-installer.run") -md5sums=('e7be40f083398ec9d1abe2eefd26b88a') -install=$pkgname.install +_dl_url="https://ww1.microchip.com" +_dl_path="downloads/aemDocuments/documents/DEV/ProductDocuments/SoftwareTools" +_dl_file="xc${_number_of_bits}-v${pkgver}-full-install-linux-x64-installer.run" -_instdir="opt/microchip/xc${_number_of_bits}/v${pkgver}" +source=( + "$_dl_file"::"$_dl_url/$_dl_path/$_dl_file" +) +sha256sums=( + '3a48acd8150be7807ef10738fb9f915bc30963b385ce25fb84d151df49e13656' +) -PKGEXT='.pkg.tar' +_instdir="opt/microchip/xc${_number_of_bits}/v${pkgver}" build() { - msg2 "Unpacking files from installer" - bitrock-unpacker ./xc${_number_of_bits}-v${pkgver}-full-install-linux-x64-installer.run ./unpacked.vfs + echo "Unpacking files from installer" + bitrock-unpacker "./$_dl_file" ./unpacked.vfs } package() { @@ -44,7 +54,7 @@ package() { mkdir -p "${pkgdir}/usr/share/licenses/${pkgname}" ln -s "/${_instdir}/docs/$(basename "${pkgdir}/${_instdir}/docs"/*[Ll]icense.txt)" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" - + chmod u+s "${pkgdir}/${_instdir}/bin/xclm" chmod +x "${pkgdir}/${_instdir}/pic/bin/clang" } |