slc-cli: update to 5.8.0.0

This commit is contained in:
Rihards Skuja 2024-01-03 21:03:01 +02:00
parent 26f294bc39
commit 8f0ea4fbed
Signed by: rhssk
GPG Key ID: BABE7EB1F38C7EF6
2 changed files with 8 additions and 8 deletions

View File

@ -1,6 +1,6 @@
pkgbase = slc-cli
pkgdesc = Command line tool to generate projects with Silicon Labs SDK
pkgver = 5.7.3.0
pkgver = 5.8.0.0
pkgrel = 1
url = https://siliconlabs.github.io/slc-specification
arch = x86_64
@ -9,9 +9,9 @@ pkgbase = slc-cli
depends = python-requests
depends = python-websockets
depends = python-colorama
noextract = slc-cli-5.7.3.0.zip
noextract = slc-cli-5.8.0.0.zip
options = !strip
source = slc-cli-5.7.3.0.zip::https://www.silabs.com/documents/login/software/slc_cli_linux.zip
sha256sums = e33775fef52032b97f31b8cae48936e02e299b2df79c40ce5caf47d08ce02396
source = slc-cli-5.8.0.0.zip::https://www.silabs.com/documents/login/software/slc_cli_linux.zip
sha256sums = f99d6bc2c4d002f397bcc27bd389eebfabb230b863e349da614f838b53274d3f
pkgname = slc-cli

View File

@ -1,7 +1,7 @@
# Maintainer: Rihards Skuja <rhssk at posteo dot eu>
pkgname=slc-cli
pkgver=5.7.3.0
pkgver=5.8.0.0
pkgrel=1
pkgdesc='Command line tool to generate projects with Silicon Labs SDK'
arch=('x86_64')
@ -11,7 +11,7 @@ options=('!strip')
depends=('java-runtime' 'python-requests' 'python-websockets' 'python-colorama')
source=("$pkgname-$pkgver.zip::https://www.silabs.com/documents/login/software/slc_cli_linux.zip")
noextract=("$pkgname-$pkgver.zip")
sha256sums=('e33775fef52032b97f31b8cae48936e02e299b2df79c40ce5caf47d08ce02396')
sha256sums=('f99d6bc2c4d002f397bcc27bd389eebfabb230b863e349da614f838b53274d3f')
prepare() {
bsdtar -xpf "$pkgname-$pkgver.zip"
@ -20,7 +20,7 @@ prepare() {
package() {
cd "slc_cli"
install -d "$pkgdir"/{usr/bin,opt/$pkgname}
cp -a {bin,lib,slc} "$pkgdir/opt/$pkgname/"
echo "python3 /opt/$pkgname/slc \$@" > "$pkgdir/usr/bin/slc"
cp -a * "$pkgdir/opt/$pkgname/"
echo "sh /opt/$pkgname/slc \$@" > "$pkgdir/usr/bin/slc"
chmod +x "$pkgdir/usr/bin/slc"
}