update to 10.0.2_411 and cleanup of code
This commit is contained in:
parent
f804ae82d3
commit
8e647e5ab1
3 changed files with 62 additions and 28 deletions
26
PKGBUILD
26
PKGBUILD
|
@ -1,17 +1,17 @@
|
|||
# Maintainer: Romain Bazile <gromain.baz at gmail dot com>
|
||||
|
||||
pkgname=mcuxpresso-ide
|
||||
pkgver=10.0.0_344
|
||||
pkgrel=3
|
||||
pkgver=10.0.2_411
|
||||
pkgrel=1
|
||||
epoch=
|
||||
pkgdesc="An easy-to-use integrated development environment (IDE) for creating, building, debugging, and optimizing your application. From BIN package distributed by NXP."
|
||||
arch=('x86_64')
|
||||
url="http://www.nxp.com/MCUXPresso"
|
||||
license=('custom:"NXP"')
|
||||
depends=('dfu-util' 'libusb' 'webkitgtk' 'ncurses' 'glibc' 'lib32-glibc')
|
||||
source=("https://freescaleesd.flexnetoperations.com/337170/457/11291457/mcuxpressoide-${pkgver}.${arch}.deb.bin" "LICENSE")
|
||||
depends=('dfu-util' 'libusb' 'webkitgtk' 'ncurses' 'glibc' 'lib32-glibc' 'jlink-software-and-documentation')
|
||||
source=("https://freescaleesd.flexnetoperations.com/337170/537/11781537/mcuxpressoide-${pkgver}.${arch}.deb.bin" "LICENSE")
|
||||
noextract=("mcuxpressoide-${pkgver}.${arch}.deb.bin")
|
||||
sha256sums=('e39a767b6bd8ef9e84efa2e20ecc07cc8c7a8bbcfb04633d52e0d02ea2b5ce73'
|
||||
sha256sums=('4cd3d04d7d7c0b84a69b801f3c0eb7fa4c897dbdbfcfe1fd7fd4d2295746b293'
|
||||
'f54634d263ed329288adbcd617f971502a22f38717602c504371a49301d37fb2')
|
||||
options=('!strip')
|
||||
|
||||
|
@ -25,21 +25,17 @@ prepare() {
|
|||
rm mcuxpressoide-${pkgver}.${arch}.deb
|
||||
bsdtar -x -f mcuxpressoide/data.tar.gz -C mcuxpressoide/
|
||||
rm mcuxpressoide/data.tar.gz
|
||||
mkdir JLink_Linux_x86_64
|
||||
bsdtar -x -f JLink_Linux_x86_64.deb -C JLink_Linux_x86_64/
|
||||
rm JLink_Linux_x86_64.deb
|
||||
bsdtar -x -f JLink_Linux_x86_64/data.tar.gz -C JLink_Linux_x86_64/
|
||||
rm JLink_Linux_x86_64/data.tar.gz
|
||||
}
|
||||
|
||||
|
||||
package() {
|
||||
# Create folder for license file
|
||||
mkdir -p ${srcdir}/mcuxpressoide/usr/share/NXPLPCXpresso;
|
||||
mv ${srcdir}/mcuxpressoide/lib/udev/rules.d/55-pemicro.rules ${srcdir}/mcuxpressoide/lib/udev/rules.d/57-pemicro.rules
|
||||
cp -r ${srcdir}/mcuxpressoide/usr ${pkgdir}/;
|
||||
cp -r ${srcdir}/mcuxpressoide/lib ${pkgdir}/usr/;
|
||||
cp -r ${srcdir}/JLink_Linux_x86_64/usr ${pkgdir}/;
|
||||
cp -r ${srcdir}/JLink_Linux_x86_64/opt ${pkgdir}/;
|
||||
cp -r ${srcdir}/JLink_Linux_x86_64/etc ${pkgdir}/;
|
||||
# Move main folder in place
|
||||
mv ${srcdir}/mcuxpressoide/usr ${pkgdir}/;
|
||||
# Move udev rules from /lib to /usr/lib folder
|
||||
mv ${srcdir}/mcuxpressoide/lib/udev ${pkgdir}/usr/lib/;
|
||||
# Add LICENSE file to licenses folder
|
||||
install -D -m644 ${srcdir}/LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue