From 6f90ac26129ffdd3ad82ccb31dafbd37f38cbaca Mon Sep 17 00:00:00 2001 From: Giovanni Harting <539@idlegandalf.com> Date: Wed, 27 Mar 2019 14:38:11 +0100 Subject: [PATCH] added lm4flash --- lm4flash/PKGBUILD | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 lm4flash/PKGBUILD diff --git a/lm4flash/PKGBUILD b/lm4flash/PKGBUILD new file mode 100644 index 0000000..5d99bd0 --- /dev/null +++ b/lm4flash/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Giovanni Harting <539@idlegandalf.com> + +pkgname=lm4flash +pkgver=0.1.3 +pkgrel=2 +pkgdesc="Firmware flashing tool for Stellaris Launchpad ICDI" +arch=('x86_64' 'i686') +url="https://github.com/utzig/lm4tools" +license=('GPL') +depends=('libusb') +source=("https://github.com/utzig/lm4tools/archive/v${pkgver}.zip") +sha256sums=('ec4eb6e254fb8d4eb78edfaf302a823e7a37a920a7b95b037956c4a511faa486') + +build() { + cd "${srcdir}/lm4tools-${pkgver}" + make +} + +package() { + cd "${srcdir}/lm4tools-${pkgver}" + + install -Dm755 "lm4flash/lm4flash" "${pkgdir}/usr/bin/lm4flash" + install -Dm755 "lmicdiusb/lmicdi" "${pkgdir}/usr/bin/lmicdi" +} + +