summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 08d66735cdd367cc3d34bdb2d1ab47283ce431d9 (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
26
27
28
29
30
31
32
33
34
35
# Maintainer: Darius Berghe <mail@dari.bz>

pkgname=stm32cubel4
pkgver=1.11.0
pkgrel=1
pkgdesc="Embedded software for STM32 L4 series"
arch=('any')
url="http://www.st.com/content/st_com/en/products/embedded-software/mcus-embedded-software/stm32-embedded-software/stm32cube-embedded-software/stm32cubel4.html"
license=('custom:MCD-ST Liberty SW License Agreement V2')
groups=()
depends=('bash' 
		 'perl')
makedepends=('unzip')
optdepends=('arm-none-eabi-gcc: ARM compiler'
			'arm-none-eabi-gdb: ARM GDB'
			'arm-none-eabi-newlib: ARM bare metal files'
			'arm-none-eabi-binutils: ARM binutils'
			'openocd: firmware flashing tool')
provides=()
conflicts=()
replaces=()
backup=()
options=('!strip')
install=
changelog=
source=('stm32cubel4.zip::http://www.st.com/content/ccc/resource/technical/software/firmware/ca/20/a3/1a/24/48/42/24/stm32cubel4.zip/files/stm32cubel4.zip/_jcr_content/translations/en.stm32cubel4.zip'
		'LICENSE')
noextract=()
sha512sums=('208ee694a5eb13e65bb9fc966572a4bc484a55fea7d10413e98dc9cae09fa9a15f78e18f932fc3f694df13746c867bae6d4f36f0b26190aceb1d95391dc5fbef'
            '56b5435d98843b02ad3b735cce67b37a98e56095e7377710708c8ce9b72fc4451a314109536bcc48229697c054479b422977d337e701a07014c84fcb97cb04d8')
package() {
	install -d "$pkgdir"/opt/"$pkgname"
	mv STM32Cube_FW_L4_V$pkgver/* "$pkgdir"/opt/"$pkgname"/
	install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}