diff --git a/packages/sniffle/PKGBUILD b/packages/sniffle/PKGBUILD index 4dd5266f00b..a28482770c5 100644 --- a/packages/sniffle/PKGBUILD +++ b/packages/sniffle/PKGBUILD @@ -6,11 +6,11 @@ _pkgname=Sniffle pkgver=v1.10.0.r102.g9c57a71 pkgrel=1 pkgdesc='A sniffer for Bluetooth 5 and 4.x LE.' -arch=('x86_64' 'aarch64') +arch=('aarch64') groups=('blackarch' 'blackarch-bluetooth') url='https://github.com/nccgroup/Sniffle' -license=('GPL-3.0') -depends=('python' 'python-pyserial' 'uniflash') +license=('GPL-3.0-or-later') +depends=('python' 'python-pyserial') makedepends=('git' 'arm-none-eabi-gcc' 'cmake') source=("git+https://github.com/nccgroup/$_pkgname.git" "https://dr-download.ti.com/software-development/software-development-kit-sdk/MD-BPlR3djvTV/7.41.00.17/simplelink_cc13xx_cc26xx_sdk_7_41_00_17.run") diff --git a/packages/uniflash/PKGBUILD b/packages/uniflash/PKGBUILD index 7394840ca77..e148700393f 100644 --- a/packages/uniflash/PKGBUILD +++ b/packages/uniflash/PKGBUILD @@ -5,7 +5,7 @@ pkgname=uniflash pkgver=8.7.0.4818 pkgrel=1 pkgdesc="Universal Flash Programmer for Texas Instruments devices. Provides a single interface for programming Flash memory and executing Flash based operations on supported targets." -arch=('i686' 'x86_64') +arch=('x86_64' 'aarch64') url="https://processors.wiki.ti.com/index.php/Category:CCS_UniFlash" license=('custom:TECHNOLOGY SOFTWARE PUBLICLY AVAILABLE by Texas Instruments Incorporated') depends=('gconf' 'libudev0-shim' 'libusb-compat' 'libcanberra') @@ -18,29 +18,29 @@ noextract=("${pkgname}_sl.$pkgver.run" ) options=(!strip) sha512sums=('bd6e5933b3efaa3743f374ff1bdce4912236328be3a9105e9d7bda4f4c04b19b56bd61f20da8e0ab60a3f64a525b0a337d990023108e02bdd679e02d85492799' '144993d8e63a7b9c30f5f41acc578513a78f92bf5180124b6d755069045194b935daeec294749be5013cfdfb21f7f00ee3152392d1b3d886f0ce20d58e41cd31') - DLAGENTS=('https::/usr/bin/curl -fLC - --cookie nada -o %o %u') + prepare() { - cd "$srcdir" + cd "$srcdir" - msg "If you continue you will accept the license, more information at https://processors.wiki.ti.com/index.php/Category:CCS_UniFlash." - chmod +x ${pkgname}_sl.$pkgver.run + echo "If you continue you will accept the license, more information at https://processors.wiki.ti.com/index.php/Category:CCS_UniFlash." + chmod +x ${pkgname}_sl.$pkgver.run } package() { - cd "$srcdir" + cd "$srcdir" - ./${pkgname}_sl.$pkgver.run --unattendedmodeui none --mode unattended --prefix $pkgdir/opt/ti/uniflash - cd "$pkgdir/opt/ti/uniflash" + ./${pkgname}_sl.$pkgver.run --unattendedmodeui none --mode unattended --prefix $pkgdir/opt/ti/uniflash + cd "$pkgdir/opt/ti/uniflash" - sed -s "s|$pkgdir||g" -i UniFlash.desktop - install -d "$pkgdir/usr/share/applications" - install -m 644 "$pkgdir/opt/ti/uniflash/UniFlash.desktop" "$pkgdir/usr/share/applications/UniFlash.desktop" + sed -s "s|$pkgdir||g" -i UniFlash.desktop + install -d "$pkgdir/usr/share/applications" + install -m 644 "$pkgdir/opt/ti/uniflash/UniFlash.desktop" "$pkgdir/usr/share/applications/UniFlash.desktop" - cd "TICloudAgentHostApp/install_scripts/" - install -d "$pkgdir/etc/udev/rules.d/" - install -m 644 -D "70-mm-no-ti-emulators.rules" "$pkgdir/etc/udev/rules.d/72-mm-no-ti-emulators.rules" - install -m 644 -D "71-ti-permissions.rules" "$pkgdir/etc/udev/rules.d/73-ti-permissions.rules" - install -m 644 "$srcdir/62-msp430uif.rules" "$pkgdir/etc/udev/rules.d/62-msp430uif.rules" + cd "TICloudAgentHostApp/install_scripts/" + install -d "$pkgdir/etc/udev/rules.d/" + install -m 644 -D "70-mm-no-ti-emulators.rules" "$pkgdir/etc/udev/rules.d/72-mm-no-ti-emulators.rules" + install -m 644 -D "71-ti-permissions.rules" "$pkgdir/etc/udev/rules.d/73-ti-permissions.rules" + install -m 644 "$srcdir/62-msp430uif.rules" "$pkgdir/etc/udev/rules.d/62-msp430uif.rules" }