slc-cli: update to 5.8.0.0

This commit is contained in:
Rihards Skuja 2023-12-18 15:05:08 +02:00
parent 26f294bc39
commit 78a796f09d
Signed by: rhssk
GPG Key ID: E3BF73E10BFF4DF3
2 changed files with 8 additions and 8 deletions

View File

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

View File

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