diff options
author | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2020-08-02 02:26:27 +0200 |
---|---|---|
committer | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2020-08-02 02:26:27 +0200 |
commit | e9901281590437f45f8b2389b579f53775085d95 (patch) | |
tree | 16b9e39c0b2936c1e60edc3732d9654a3c0d856e /pcr/imx_usb_loader-git/PKGBUILD | |
parent | ec039533e8d27d1792a714a6f1ef35905e296071 (diff) | |
download | abslibre-e9901281590437f45f8b2389b579f53775085d95.tar.gz abslibre-e9901281590437f45f8b2389b579f53775085d95.tar.bz2 abslibre-e9901281590437f45f8b2389b579f53775085d95.zip |
pcr: Import imx_usb_loader-git from AUR
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Diffstat (limited to 'pcr/imx_usb_loader-git/PKGBUILD')
-rw-r--r-- | pcr/imx_usb_loader-git/PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/pcr/imx_usb_loader-git/PKGBUILD b/pcr/imx_usb_loader-git/PKGBUILD new file mode 100644 index 000000000..928892f52 --- /dev/null +++ b/pcr/imx_usb_loader-git/PKGBUILD @@ -0,0 +1,30 @@ +# Copyright (C) 2020 Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. + +_pkgname=imx_usb_loader +pkgname=${_pkgname}-git +pkgver=0.1 +pkgrel=1 +pkgdesc="Tool to communicate with I.MX bootroms to execute code" +arch=('armv7h' 'i686' 'x86_64') +url='https://github.com/boundarydevices/imx_usb_loader' +license=('LGPL') +depends=('libusb') +makedepends=('git') +_commit=('30b43d69770cd69e84c045dc9dcabb1f3e9d975a') +source=("git://github.com/boundarydevices/imx_usb_loader.git#commit=${_commit}") +sha256sums=('SKIP') + +build() { + cd "$srcdir/${_pkgname}" + make +} + +package(){ + cd "$srcdir/${_pkgname}" + make DESTDIR="$pkgdir" install + install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE" +} |