aboutsummaryrefslogtreecommitdiffstats
path: root/testing/stm32flash/APKBUILD
blob: aa2a0f49f834eb6b6301d65a8fff125c5f0a12ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Maintainer: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
pkgname=stm32flash
pkgver=0.5
pkgrel=1
pkgdesc="Flash STM32 ARM SoCs using built-in ST serial bootloader over UART or I2C"
url="https://sourceforge.net/p/stm32flash/wiki/Home/"
arch="all"
license="GPL-2.0-or-later"
makedepends="linux-headers"
subpackages="$pkgname-doc"
source="https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname"
options="!check" # no test suite

build() {
	cd "$builddir"
	make
}

package() {
	cd "$builddir"
	make PREFIX=/usr DESTDIR="$pkgdir" install
}

sha512sums="a01875a315d92d5e347372b736f2afa2f633851bf13af1326341c0c91e17cef54b6730ed1279280e86d3797033c856dfc25e8c595e010772b9287aaf965273f9  stm32flash-0.5.tar.gz"