PKGBUILDs/alarm/uboot-clearfog/PKGBUILD

36 lines
801 B
Bash
Raw Normal View History

2015-12-08 10:45:37 +00:00
# Maintainer: Oleg Rakhmanov <oleg@archlinuxarm.org>
buildarch=4
pkgbase=uboot-clearfog
pkgname=('uboot-clearfog')
pkgver=2013.01
pkgrel=1
arch=('armv7h')
url="http://git.denx.de/u-boot.git/"
license=('GPL')
depends=('uboot-tools')
option=('!strip')
source=('u-boot-clearfog.mmc.xz'
'clearfog.txt'
'uEnv.txt'
'sd_fusing.sh')
md5sums=('8c54c8e6b7dd1c4997d2df490a3fe31d'
'3a7ab4a3a4aa26745c134bb9e65ce3bc'
'74553971c70ec14195955bbd579b63a6'
'c1cd60fe31548acdbe17d55442bcee76')
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
}