added lm4flash

This commit is contained in:
2019-03-27 14:38:11 +01:00
parent c716934537
commit 6f90ac2612

26
lm4flash/PKGBUILD Normal file
View File

@@ -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"
}