diff options
author | Denis 'GNUtoo' Carikli | 2020-03-11 06:16:06 +0100 |
---|---|---|
committer | Denis 'GNUtoo' Carikli | 2020-03-11 06:18:23 +0100 |
commit | 78b2960150db35b2b4bbe7a38abb6b34d9efcf2b (patch) | |
tree | 1ba3905f7e1e664268ac6c782f4653c816982190 /PKGBUILD | |
download | aur-78b2960150db35b2b4bbe7a38abb6b34d9efcf2b.tar.gz |
Add omap-usb-boot
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..9523dfa52f6b --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,35 @@ +# 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=omap-usb-boot +pkgver=0.1 +pkgrel=1 +pkgdesc="Tool to communicate with OMAP bootroms to execute code, change boot media, etc" +arch=('armv7h' 'i686' 'x86_64') +url='https://git.replicant.us/contrib/PaulK/omap-usb-boot/' +license=('GPL3') +depends=('libusb') +makedepends=('git') +_commit=('15ea4dcaecdf2e65a79d78a3fd4fd500addfc7cc') +source=("git://git.replicant.us/PaulK/omap-usb-boot#commit=${_commit}") +sha256sums=('SKIP') + +prepare() { + cd "$srcdir/$pkgname" + ./autogen.sh +} + +build() { + cd "$srcdir/$pkgname" + ./configure --prefix=/usr --mandir=/usr/share/man + make +} + +package(){ + cd "$srcdir/$pkgname" + make DESTDIR="$pkgdir" install + install -D -m644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} |