PKGBUILDs/alarm/uboot-clearfog/PKGBUILD
2016-06-05 18:55:58 -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=6
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'
'0d5c13ccc7045af73de8685d4f961bb7'
'74553971c70ec14195955bbd579b63a6'
'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
}