summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorkiv2015-07-24 03:37:01 +0300
committerkiv2015-07-24 03:37:01 +0300
commitf1abd7e5562e5bf0c0306bb698cad00f9e7c5fa7 (patch)
tree9b4ef17e54cda5e98639d9ccbd7b5f2c188a1e51 /PKGBUILD
parent3853757f686d0e138cf9a6f529a296cafaabc785 (diff)
downloadaur-libopencm3-ldscripts-git.tar.gz
.
Diffstat (limited to 'PKGBUILD')
-rwxr-xr-xPKGBUILD14
1 files changed, 8 insertions, 6 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 036bb1ee77a..f139253dd9d 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=libopencm3-ldscripts-git
pkgver=1
-pkgrel=2
+pkgrel=3
pkgdesc="ldscripts generator for ARM MCUs from libopencm3 library"
url="https://github.com/libopencm3/libopencm3"
arch=('any')
@@ -23,9 +23,11 @@ build() {
}
package() {
- cd "${srcdir}/libopencm3/ld"
- mkdir -p "${pkgdir}/usr/arm-none-eabi/lib"
- install devices.data "${pkgdir}/usr/arm-none-eabi/lib/"
- install linker.ld.S "${pkgdir}/usr/arm-none-eabi/lib/"
- install Makefile.linker "${pkgdir}/usr/arm-none-eabi/lib/"
+ cd "${srcdir}/libopencm3"
+ mkdir -p "${pkgdir}/usr/arm-none-eabi/ld"
+ install ./ld/devices.data "${pkgdir}/usr/arm-none-eabi/ld/"
+ install ./ld/linker.ld.S "${pkgdir}/usr/arm-none-eabi/ld/"
+ install ./ld/Makefile.linker "${pkgdir}/usr/arm-none-eabi/ld/"
+ mkdir -p "${pkgdir}/usr/arm-none-eabi/scripts"
+ install ./scripts/genlink.awk "${pkgdir}/usr/arm-none-eabi/scripts"
}