pkgbuilds/simplicity-commander/PKGBUILD

22 lines
785 B
Bash
Raw Permalink Normal View History

2023-02-19 12:59:08 +02:00
# Maintainer: Rihards Skuja <rhssk at posteo dot eu>
pkgname=simplicity-commander
2024-03-09 12:23:17 +02:00
pkgver=1.16.5
2023-02-19 12:59:08 +02:00
pkgrel=1
pkgdesc='GUI and command line access to the debug features of Silicon Labs devices'
arch=('x86_64')
url='https://www.silabs.com/mcu/programming-options'
license=('LGPL')
options=('!strip')
depends=('jlink-software-and-documentation')
source=("$pkgname-$pkgver.zip::https://www.silabs.com/documents/public/software/SimplicityCommander-Linux.zip")
2024-03-09 12:23:17 +02:00
sha256sums=('82b1bbc492c8cd574e3a92eefc775360ed28a3600080b37a061f0d5cd4553ec4')
2023-02-19 12:59:08 +02:00
package() {
cd "SimplicityCommander-Linux"
install -d "$pkgdir"/{usr/bin,opt}
tar -xjf Commander_linux_x86_64_*.tar.bz
cp -a "$srcdir/SimplicityCommander-Linux/commander" "$pkgdir/opt/$pkgname"
ln -s "/opt/$pkgname/commander" "$pkgdir/usr/bin/"
}