PKGBUILDs/alarm/uboot-clearfog/PKGBUILD
2017-06-22 19:23:05 -06:00

35 lines
804 B
Bash

# Maintainer: Oleg Rakhmanov <oleg@archlinuxarm.org>
buildarch=4
pkgbase=uboot-clearfog
pkgname=('uboot-clearfog')
pkgver=2013.01
pkgrel=8
arch=('armv7h')
url="http://git.denx.de/u-boot.git/"
license=('GPL')
depends=('uboot-tools')
option=('!strip')
source=('u-boot-clearfog.tar.xz'
'clearfog.txt'
'uEnv.txt'
'sd_fusing.sh')
md5sums=('03b2a5122da09712abe8cf4d1740736a'
'a0127da020efbff1d539a4671b6771ac'
'4d019f8dcf6ec26b4b5bdcce3cd5dfc4'
'34f19ed196fd3e1918188dab53ee0eba')
prepare() {
mkenvimage -s 0x10000 -o clearfog.env clearfog.txt
}
package() {
pkgdesc="U-Boot for SolidRun ClearFog"
install=${pkgbase}.install
mkdir -p "${pkgdir}"/boot
cp ${srcdir}/{u-boot-clearfog.??.mmc,clearfog.env,sd_fusing.sh,uEnv.txt} "${pkgdir}"/boot
}