PKGBUILDs/alarm/uboot-clearfog/PKGBUILD

36 lines
804 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
2016-12-11 20:38:23 +00:00
pkgrel=7
2015-12-08 10:45:37 +00:00
arch=('armv7h')
url="http://git.denx.de/u-boot.git/"
license=('GPL')
depends=('uboot-tools')
option=('!strip')
2016-06-06 00:42:15 +00:00
source=('u-boot-clearfog.tar.xz'
2015-12-08 10:45:37 +00:00
'clearfog.txt'
'uEnv.txt'
'sd_fusing.sh')
2016-06-06 00:42:15 +00:00
md5sums=('03b2a5122da09712abe8cf4d1740736a'
2016-12-11 20:38:23 +00:00
'0874b3911faebf1fa1f8b0e5526664a9'
'4d019f8dcf6ec26b4b5bdcce3cd5dfc4'
2016-06-06 00:53:18 +00:00
'34f19ed196fd3e1918188dab53ee0eba')
2015-12-08 10:45:37 +00:00
prepare() {
mkenvimage -s 0x10000 -o clearfog.env clearfog.txt
}
package() {
pkgdesc="U-Boot for SolidRun ClearFog"
install=${pkgbase}.install
mkdir -p "${pkgdir}"/boot
2016-06-06 00:42:15 +00:00
cp ${srcdir}/{u-boot-clearfog.??.mmc,clearfog.env,sd_fusing.sh,uEnv.txt} "${pkgdir}"/boot
2015-12-08 10:45:37 +00:00
}