diff options
author | taotieren | 2022-03-11 19:58:38 +0800 |
---|---|---|
committer | taotieren | 2022-03-11 19:58:38 +0800 |
commit | 401982567cca9922f35ca013f3d78981286bb42d (patch) | |
tree | ca076da80056234c898769854bd0583b13ccb0a3 | |
download | aur-401982567cca9922f35ca013f3d78981286bb42d.tar.gz |
update 10.15.3
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | PKGBUILD | 45 |
3 files changed, 62 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..e52e33d36380 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = nrf-command-line-tools-bin + pkgdesc = The nRF Command Line Tools is used for development, programming and debugging of Nordic Semiconductor's nRF51, nRF52, nRF53 and nRF91 Series devices. + pkgver = 10.15.3 + pkgrel = 1 + url = https://www.nordicsemi.com/Products/Development-tools/nrf-command-line-tools/download + arch = x86_64 + license = Commercial + optdepends = nrf-udev: udev rules for nRF (Nordic Semiconductor) development kits + optdepends = jlink-software-and-documentation: Segger JLink software & documentation pack for Linux + optdepends = pc-nrfconnect-programmer: Programmer app for nRF Connect for Desktop + options = !strip + source_x86_64 = https://nsscprodmedia.blob.core.windows.net/prod/software-and-other-downloads/desktop-software/nrf-command-line-tools/sw/versions-10-x-x/10-15-3/nrf-command-line-tools_10.15.3_amd64.deb + sha256sums_x86_64 = c03ac0d6cbbde5bf7fc8ceec3cd9c96af83248eb9b98d54551da5a616376c768 + +pkgname = nrf-command-line-tools-bin diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..37bb465dc2db --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +* +*.* diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..7a53869b2784 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,45 @@ +# Maintainer: taotieren <admin@taotieren.com> + +pkgname=nrf-command-line-tools-bin +_pkgname=${pkgname%-bin} +pkgver=10.15.3 +pkgrel=1 +arch=('x86_64') +options=(!strip) +conflicts=() +replaces=() +pkgdesc="The nRF Command Line Tools is used for development, programming and debugging of Nordic Semiconductor's nRF51, nRF52, nRF53 and nRF91 Series devices." +license=('Commercial') +url="https://www.nordicsemi.com/Products/Development-tools/nrf-command-line-tools/download" +source_x86_64=("https://nsscprodmedia.blob.core.windows.net/prod/software-and-other-downloads/desktop-software/${_pkgname}/sw/versions-10-x-x/${pkgver//./-}/${_pkgname}_${pkgver}_amd64.deb") +sha256sums_x86_64=('c03ac0d6cbbde5bf7fc8ceec3cd9c96af83248eb9b98d54551da5a616376c768') +optdepends=("nrf-udev: udev rules for nRF (Nordic Semiconductor) development kits" + "jlink-software-and-documentation: Segger JLink software & documentation pack for Linux" + "pc-nrfconnect-programmer: Programmer app for nRF Connect for Desktop") +# noextract=("${_pkgname}_${pkgver}_amd64.deb") + +prepare() { +# ar -x *.rpm + mkdir -p ${pkgname} + bsdtar -xf "${srcdir}/${_pkgname}_${pkgver}_amd64.deb" --numeric-owner -C "${srcdir}/${pkgname}" +} + +package() { + export LC_CTYPE="zh_CN.UTF-8" + bsdtar -xf "${srcdir}/${pkgname}/data.tar.gz" --numeric-owner -C "${pkgdir}" + + install -dm0755 "${pkgdir}/usr/bin/" +# "${pkgdir}/usr/share/icons/hicolor/scalable/mimetypes/" \ +# "${pkgdir}/usr/share/mime/packages/" \ +# "${pkgdir}/usr/share/applications/" +# + ln -sf /opt/nrf-command-line-tools/bin/nrfjprog ${pkgdir}/usr/bin/nrfjprog + ln -sf /opt/nrf-command-line-tools/bin/mergehex ${pkgdir}/usr/bin/mergehex + +# ln -sf "/opt/${_pkgname}/${_softname}.desktop" "${pkgdir}/usr/share/applications/${_softname}.desktop" +# ln -sf "/opt/${_pkgname}/${_softname}.png" "${pkgdir}/usr/share/pixmaps/${_softname}.png" +# ln -sf "/opt/${_pkgname}/emmx.svg" "${pkgdir}/usr/share/icons/hicolor/scalable/mimetypes/emmx.svg" +# ln -sf "/opt/${_pkgname}/${_softname}.xml" "${pkgdir}/usr/share/mime/packages/${_softname}.xml" +} + + |