mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
added alarm/vboot-utils
This commit is contained in:
parent
4cf4ecd0fe
commit
1d6e07b495
1 changed files with 38 additions and 0 deletions
38
alarm/vboot-utils/PKGBUILD
Normal file
38
alarm/vboot-utils/PKGBUILD
Normal file
|
@ -0,0 +1,38 @@
|
|||
# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org
|
||||
# Contributor: Justin Settle <jus10 at partlycloudy dot org>
|
||||
|
||||
buildarch=4
|
||||
|
||||
pkgname=vboot-utils
|
||||
pkgver=r1416.7dd3bd0
|
||||
pkgrel=1
|
||||
arch=('armv7h')
|
||||
pkgdesc="Chromium OS vboot utilities"
|
||||
url="https://chromium.googlesource.com/chromiumos/platform/vboot_reference/+/master"
|
||||
license=('custom:chromiumos')
|
||||
makedepends=('libyaml' 'git')
|
||||
provides=('cgpt')
|
||||
replaces=('cgpt')
|
||||
source=("git+https://chromium.googlesource.com/chromiumos/platform/vboot_reference")
|
||||
md5sums=('SKIP')
|
||||
|
||||
pkgver() {
|
||||
cd vboot_reference
|
||||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
||||
}
|
||||
|
||||
prepare() {
|
||||
cd vboot_reference
|
||||
# remove -Werror to prevent build failure
|
||||
sed -i 's/-Werror//g' Makefile
|
||||
}
|
||||
|
||||
build() {
|
||||
cd vboot_reference
|
||||
ARCH=arm make V=1
|
||||
}
|
||||
|
||||
package() {
|
||||
cd vboot_reference
|
||||
make DESTDIR="${pkgdir}/usr" install
|
||||
}
|
Loading…
Reference in a new issue