summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--PKGBUILD18
1 files changed, 9 insertions, 9 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 975344fe4bf..6991377f747 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,23 +1,23 @@
-dev=4
-pkgname="stm32f${dev}-headers-git"
+dev=F4
+pkgname="stm32${dev,,}-headers-git"
pkgver=r6.9f5ea7421d22
pkgrel=1
-pkgdesc="Headers for STM32F${dev} devices"
+pkgdesc="Headers for STM32${dev} devices"
url=https://github.com/STMicroelectronics
license=('apache')
-source=("git://github.com/STMicroelectronics/STM32CubeF${dev}.git")
+source=("git://github.com/STMicroelectronics/STM32Cube${dev}.git")
md5sums=('SKIP')
arch=('any')
pkgver() {
- cd "${srcdir}/STM32CubeF${dev}"
+ cd "${srcdir}/STM32Cube${dev}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
- mkdir -p "${pkgdir}/opt/STM32/STM32F${dev}"
+ mkdir -p "${pkgdir}/opt/STM32/STM32${dev}"
- install STM32CubeF${dev}/Drivers/CMSIS/Device/ST/STM32F${dev}xx/Include/* \
- STM32CubeF${dev}/Drivers/CMSIS/Include/* \
- "${pkgdir}/opt/STM32/STM32F${dev}"
+ install STM32Cube${dev}/Drivers/CMSIS/Device/ST/STM32${dev}xx/Include/* \
+ STM32Cube${dev}/Drivers/CMSIS/Include/* \
+ "${pkgdir}/opt/STM32/STM32${dev}"
}