pkgbuilds/simplicity-commander/PKGBUILD

22 lines
785 B
Bash

# Maintainer: Rihards Skuja <rhssk at posteo dot eu>
pkgname=simplicity-commander
pkgver=1.16.3
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")
sha256sums=('989ad97c9709af158cb4be60ecf34575797f9f3eaa53ce230354ec0bce3e6512')
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/"
}