diff options
author | yjun | 2020-11-10 11:57:04 +0800 |
---|---|---|
committer | yjun | 2020-11-10 11:57:04 +0800 |
commit | 6ca610cc5795bd7acb014dfa733738bf904e9041 (patch) | |
tree | 15613eb431530d99e95adb441dad0c4ba3f14294 | |
parent | ec035d083933153715eabc584f220ee8295fe131 (diff) | |
download | aur-6ca610cc5795bd7acb014dfa733738bf904e9041.tar.gz |
[updpkg] stm32cubemonitor 1.1.0
-rw-r--r-- | .SRCINFO | 12 | ||||
-rw-r--r-- | PKGBUILD | 29 |
2 files changed, 28 insertions, 13 deletions
@@ -1,12 +1,11 @@ pkgbase = stm32cubemonitor pkgdesc = graphical software for helping debug and diagnose STM32 applications while they are running by reading and displaying their variables in real-time - pkgver = 1.0.0 - pkgrel = 2 - url = https://my.st.com/content/my_st_com/en/products/development-tools/software-development-tools/stm32-software-development-tools/stm32-performance-and-debuggers/stm32cubemonitor.html + pkgver = 1.1.0 + pkgrel = 1 + url = https://www.st.com/en/development-tools/stm32cubemonitor.html arch = x86_64 license = custom depends = gtk3 - depends = nodejs depends = nss depends = libxss depends = libnotify @@ -14,11 +13,12 @@ pkgbase = stm32cubemonitor depends = xdg-utils depends = at-spi2-core depends = libutil-linux + optdepends = stlink: stlink udev files provide provides = stm32cubemonitor-bin conflicts = stm32cubemonitor-bin options = !strip - source = local://en.STM32CubeMonitor_lin.zip - sha256sums = d82c5282b8d3f64c68b58426bacd1b2139e3984bdb6df6262d3efa67712c9dfd + source = local://en.STM32CubeMonitor_lin_v1-1-0.zip + sha256sums = 22689b693e3e00f36c1e71e9f052fb926827c372ba9a9d78789ad563cdb10707 pkgname = stm32cubemonitor @@ -1,19 +1,20 @@ # Maintainer: yjun <jerrysteve1101@gmail.com> pkgname=stm32cubemonitor -pkgver=1.0.0 -pkgrel=2 +pkgver=1.1.0 +pkgrel=1 pkgdesc="graphical software for helping debug and diagnose STM32 applications while they are running by reading and displaying their variables in real-time" arch=('x86_64') -url="https://my.st.com/content/my_st_com/en/products/development-tools/software-development-tools/stm32-software-development-tools/stm32-performance-and-debuggers/stm32cubemonitor.html" +url="https://www.st.com/en/development-tools/stm32cubemonitor.html" license=('custom') -depends=('gtk3' 'nodejs' 'nss' 'libxss' 'libnotify' 'libxtst' 'xdg-utils' 'at-spi2-core' 'libutil-linux') +depends=('gtk3' 'nss' 'libxss' 'libnotify' 'libxtst' 'xdg-utils' 'at-spi2-core' 'libutil-linux') +optdepends=('stlink: stlink udev files provide') provides=("${pkgname}-bin") conflicts=("${pkgname}-bin") options=('!strip') -_pkg_file_name=en.STM32CubeMonitor_lin.zip +_pkg_file_name=en.STM32CubeMonitor_lin_v${pkgver//./-}.zip source=("local://${_pkg_file_name}") -sha256sums=('d82c5282b8d3f64c68b58426bacd1b2139e3984bdb6df6262d3efa67712c9dfd') +sha256sums=('22689b693e3e00f36c1e71e9f052fb926827c372ba9a9d78789ad563cdb10707') _DOWNLOADS_DIR=`xdg-user-dir DOWNLOAD` if [ ! -f ${PWD}/${_pkg_file_name} ]; then @@ -27,6 +28,17 @@ if [ ! -f ${PWD}/${_pkg_file_name} ]; then fi fi +# Extracted Files from ${_pkg_file_name} +# ├── driver +# │ └── st-stlink-udev-rules-1.0.2-3-linux-all.deb +# ├── licenses +# │ ├── Gnu Arm Embedded Toolchain EULA.txt +# │ ├── LICENSES.chromium.html +# │ ├── licenses_list_STM32CubeMonitor.txt +# │ └── SLA0048 rev4.pdf +# ├── snapshot_embedded_SW.zip +# └── stm32cubemonitor_${pkgver}_amd64.deb + prepare() { install -dm755 build bsdtar -xf STM32CubeMonitor_lin/${pkgname}_${pkgver}_amd64.deb -C build @@ -44,7 +56,10 @@ package() { ln -fs /opt/${pkgname}/${pkgname} ${pkgdir}/usr/bin/${pkgname} # license - install -Dm644 STM32CubeMonitor_lin/licenses/licenses_list_STM32CubeMonitor.txt ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + for license in ${srcdir}/STM32CubeMonitor_lin/licenses/* + do + install -Dm644 "${license}" -t ${pkgdir}/usr/share/licenses/${pkgname}/ + done } # vim: set sw=2 ts=2 et: |