Package Details: stm32flash 0.7-2

Git Clone URL: https://aur.archlinux.org/stm32flash.git (read-only, click to copy)
Package Base: stm32flash
Description: Open source flash program for the STM32 ARM processors using the ST serial bootloader over UART or I2C
Upstream URL: https://sourceforge.net/projects/stm32flash/
Licenses: GPL2
Conflicts: stm32flash-git
Provides: stm32flash
Submitter: andreagi
Maintainer: andreagi
Last Packager: andreagi
Votes: 18
Popularity: 0.088853
First Submitted: 2016-08-27 07:39 (UTC)
Last Updated: 2023-05-27 18:30 (UTC)

Latest Comments

rmcmonigal commented on 2023-05-25 11:54 (UTC)

Could you add aarch64 to the list architectures in the PKGBUILD? I've tested it and its working correctly.

nmaggioni commented on 2021-03-02 20:23 (UTC)

@lesto:

diff --git a/PKGBUILD b/PKGBUILD
index aaed162..bac1ff7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -14,12 +14,13 @@ source=(http://downloads.sourceforge.net/project/stm32flash/$pkgname-$pkgver.tar
 sha512sums=('2d92ecf4f82b8a702b596cbf3c4ff594f67083f7dcec82c064555f73b47834b41a918efa1846e47fc8740ae63fa818b16dfb5b38fa242c17f465666a651eee3a')

 build() {
-  cd $pkgname
+  cd "$pkgname" || cd "$pkgname-$pkgver"
   make PREFIX=/usr
 }

 package() {
-  cd $pkgname
+
+  cd "$pkgname" || cd "$pkgname-$pkgver"
   make PREFIX=/usr DESTDIR="${pkgdir}" install
   install -D -m644 gpl-2.0.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE
   install -d $pkgdir/usr/share/doc/$pkgname/

lesto commented on 2021-03-02 19:52 (UTC)

build() is broken for me:

PKGBUILD: line 17: cd: stm32flash: No such file or directory