mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
33 lines
1.2 KiB
Bash
33 lines
1.2 KiB
Bash
# U-Boot: ODROID XU3
|
|
# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
buildarch=4
|
|
|
|
pkgname=uboot-odroid-xu3
|
|
pkgver=2012.07
|
|
pkgrel=3
|
|
pkgdesc="U-Boot for ODROID-XU3"
|
|
arch=('armv7h')
|
|
url="https://github.com/hardkernel/linux/tree/odroidxu3-3.10.y"
|
|
license=('GPL')
|
|
install=$pkgname.install
|
|
backup=('boot/boot.ini')
|
|
_commit=814386d3e43b8ab8d81f04aa7fe402952503d8fe
|
|
source=("https://github.com/hardkernel/linux/raw/${_commit}/tools/hardkernel/prebuilt_uboot/bl1.bin"
|
|
"https://github.com/hardkernel/linux/raw/${_commit}/tools/hardkernel/prebuilt_uboot/bl2.bin"
|
|
"https://github.com/hardkernel/linux/raw/${_commit}/tools/hardkernel/prebuilt_uboot/tzsw.bin"
|
|
"https://github.com/hardkernel/linux/raw/${_commit}/tools/hardkernel/prebuilt_uboot/u-boot.bin"
|
|
'sd_fusing.sh'
|
|
'boot.ini')
|
|
md5sums=('3908379f82f972ece88ca1b5a280b5fd'
|
|
'8580c2b2701bf5936f42104b3cc5d725'
|
|
'fd01dda20b999e0b731c7063431a42b3'
|
|
'85ff8b8e20fe4c7639ed87781f473512'
|
|
'b5616d1971ac48e93e2f92f8cd8eeba8'
|
|
'9e3083f40a05692c41f92f0439be0243')
|
|
|
|
package() {
|
|
mkdir -p "${pkgdir}"/boot
|
|
cp {bl{1,2},tzsw,u-boot}.bin sd_fusing.sh boot.ini "${pkgdir}"/boot
|
|
chmod +x "${pkgdir}"/boot/sd_fusing.sh
|
|
}
|