reduce the space needed for packaging, down to ~3Gb
This commit is contained in:
parent
0191eb2aae
commit
d1f19be369
2 changed files with 7 additions and 2 deletions
2
.SRCINFO
2
.SRCINFO
|
@ -1,7 +1,7 @@
|
||||||
pkgbase = mcuxpresso-ide
|
pkgbase = mcuxpresso-ide
|
||||||
pkgdesc = An easy-to-use integrated development environment (IDE) for creating, building, debugging, and optimizing your application. From BIN package distributed by NXP.
|
pkgdesc = An easy-to-use integrated development environment (IDE) for creating, building, debugging, and optimizing your application. From BIN package distributed by NXP.
|
||||||
pkgver = 10.0.0_344
|
pkgver = 10.0.0_344
|
||||||
pkgrel = 1
|
pkgrel = 2
|
||||||
url = http://www.nxp.com/MCUXPresso
|
url = http://www.nxp.com/MCUXPresso
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
license = custom:"NXP"
|
license = custom:"NXP"
|
||||||
|
|
7
PKGBUILD
7
PKGBUILD
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
pkgname=mcuxpresso-ide
|
pkgname=mcuxpresso-ide
|
||||||
pkgver=10.0.0_344
|
pkgver=10.0.0_344
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
epoch=
|
epoch=
|
||||||
pkgdesc="An easy-to-use integrated development environment (IDE) for creating, building, debugging, and optimizing your application. From BIN package distributed by NXP."
|
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')
|
arch=('x86_64')
|
||||||
|
@ -18,13 +18,18 @@ options=('!strip')
|
||||||
prepare() {
|
prepare() {
|
||||||
chmod +x mcuxpressoide-${pkgver}.${arch}.deb.bin
|
chmod +x mcuxpressoide-${pkgver}.${arch}.deb.bin
|
||||||
./mcuxpressoide-${pkgver}.${arch}.deb.bin --noexec --keep --target ${srcdir}
|
./mcuxpressoide-${pkgver}.${arch}.deb.bin --noexec --keep --target ${srcdir}
|
||||||
|
rm mcuxpressoide-${pkgver}.${arch}.deb.bin
|
||||||
cd ${srcdir}/
|
cd ${srcdir}/
|
||||||
mkdir mcuxpressoide
|
mkdir mcuxpressoide
|
||||||
bsdtar -x -f mcuxpressoide-${pkgver}.${arch}.deb -C mcuxpressoide/
|
bsdtar -x -f mcuxpressoide-${pkgver}.${arch}.deb -C mcuxpressoide/
|
||||||
|
rm mcuxpressoide-${pkgver}.${arch}.deb
|
||||||
bsdtar -x -f mcuxpressoide/data.tar.gz -C mcuxpressoide/
|
bsdtar -x -f mcuxpressoide/data.tar.gz -C mcuxpressoide/
|
||||||
|
rm mcuxpressoide/data.tar.gz
|
||||||
mkdir JLink_Linux_x86_64
|
mkdir JLink_Linux_x86_64
|
||||||
bsdtar -x -f JLink_Linux_x86_64.deb -C 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/
|
bsdtar -x -f JLink_Linux_x86_64/data.tar.gz -C JLink_Linux_x86_64/
|
||||||
|
rm JLink_Linux_x86_64/data.tar.gz
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue