summaryrefslogtreecommitdiff
path: root/pcr/omap-usb-boot/PKGBUILD
blob: b6b0893ebc9ba7cf4b114000c8b0bd1b543388c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# 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 CC0 1.0 License.
# Maintainers: Parabola hackers <dev@lists.parabola.nu>

# Parabola changes and rationale:
#  no changes.

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
}