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-06-06 00:42:15 +00:00
pkgrel=5
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-03-02 05:52:44 +00:00
'0d5c13ccc7045af73de8685d4f961bb7'
2015-12-08 10:45:37 +00:00
'74553971c70ec14195955bbd579b63a6'
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
}