blob: 26ca326ac1e527435ef58e49844303cbd109b885 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Maintainer: Daniel Plaza <daniel.plaza.espi at gmail dot com>
pkgname=mcuxpresso-config-tools
pkgver=16.1
pkgrel=1
epoch=
pkgdesc="Integrated suite of configuration tools for NXP's microcontrollers. From BIN package distributed by NXP."
arch=('x86_64')
url="http://www.nxp.com/products/software-and-tools/run-time-software/mcuxpresso-software-and-tools/mcuxpresso-config-tools:MCUXpresso-Config-Tools"
license=('custom:"NXP"')
depends=('java-environment' 'libxslt' 'libxtst' 'gcc-libs-multilib' 'gtk2' 'alsa-lib' 'libnet')
source=("file://mcuxpresso-config-tools-v${pkgver}-1_amd64.deb.bin" "LICENSE" "${pkgname}.install")
sha256sums=('c25d8fb08a20068d4f6bdaef434527c47366471cb2d05970f15d71e4cb297892'
'7f8e4f42422ed630eb3af8fc761b91c6154e69959a3a112bd463f067f4814692'
'6435144e9b28ec594ebea3e598e01e23a4d41c3787a67de68dafedcf71bc18ed')
options=('!strip')
prepare() {
chmod +x mcuxpresso-config-tools-v${pkgver}-1_amd64.deb.bin
./mcuxpresso-config-tools-v${pkgver}-1_amd64.deb.bin --noexec --keep --nox11 --target ${srcdir}
rm mcuxpresso-config-tools-v${pkgver}-1_amd64.deb.bin
cd ${srcdir}/
mkdir -p mcuxpresso-config-tools
bsdtar -x -f mcuxpresso-config-tools-v${pkgver}-1_amd64.deb -C mcuxpresso-config-tools
rm mcuxpresso-config-tools-v${pkgver}-1_amd64.deb
bsdtar -x -f mcuxpresso-config-tools/data.tar.gz -C mcuxpresso-config-tools
rm mcuxpresso-config-tools/data.tar.gz
}
package() {
cp -r ${srcdir}/mcuxpresso-config-tools/usr ${pkgdir}/;
cp -r ${srcdir}/mcuxpresso-config-tools/opt ${pkgdir}/;
install -D -m644 ${srcdir}/LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE;
}
|