Skip to content

Commit

Permalink
Update PKGBUILD
Browse files Browse the repository at this point in the history
  • Loading branch information
D3vil0p3r committed Nov 29, 2024
1 parent e00cd41 commit 69ed298
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion packages/sniffle/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ pkgdesc='A sniffer for Bluetooth 5 and 4.x LE.'
arch=('aarch64')
groups=('blackarch' 'blackarch-bluetooth')
url='https://github.com/nccgroup/Sniffle'
license=('GPL-3.0')
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"
Expand Down
32 changes: 16 additions & 16 deletions packages/uniflash/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand All @@ -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"
}

0 comments on commit 69ed298

Please sign in to comment.