summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGrey Christoforo2020-06-28 15:17:35 +0100
committerGrey Christoforo2020-06-28 15:17:35 +0100
commit901a142d250673cfe2341b7698db1e5c06d2f120 (patch)
tree39b8dd5130ebc9ceb716f8a17e88af6b4972cb2e
downloadaur-uboot-tools-rc.tar.gz
initial commit
-rw-r--r--.SRCINFO18
-rw-r--r--.gitignore6
-rw-r--r--PKGBUILD38
3 files changed, 62 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..9eef0da48d5
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = uboot-tools-rc
+ pkgdesc = U-Boot tools RCs
+ pkgver = 2020.07rc5
+ pkgrel = 1
+ url = http://www.denx.de/wiki/U-Boot/WebHome
+ arch = x86_64
+ license = GPL
+ makedepends = bc
+ makedepends = dtc
+ makedepends = git
+ provides = uboot-tools
+ conflicts = uboot-tools
+ options = !strip
+ source = ftp://ftp.denx.de/pub/u-boot/u-boot-2020.07-rc5.tar.bz2
+ md5sums = 3b10951fa62e91433d0045a29a8588b0
+
+pkgname = uboot-tools-rc
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..37a189be68f
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,6 @@
+*.tar.bz2
+*.tar.gz
+*.pkg.tar.xz
+*.pkg.tar.std
+src/
+pkg/
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..e3f66188b21
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,38 @@
+# U-Boot tools rc channel
+# Maintainer: Greyson Christoforo
+
+buildarch=8
+
+pkgname=uboot-tools-rc
+pkgver=2020.07rc5
+pkgrel=1
+pkgdesc="U-Boot tools RCs"
+arch=('x86_64')
+url='http://www.denx.de/wiki/U-Boot/WebHome'
+license=('GPL')
+makedepends=('bc' 'dtc' 'git')
+provides=('uboot-tools')
+conflicts=('uboot-tools')
+options=(!strip)
+source=("ftp://ftp.denx.de/pub/u-boot/u-boot-${pkgver/rc/-rc}.tar.bz2")
+md5sums=('3b10951fa62e91433d0045a29a8588b0')
+
+prepare() {
+ cd u-boot-${pkgver/rc/-rc}
+
+}
+
+build() {
+ cd u-boot-${pkgver/rc/-rc}
+ make defconfig
+ make tools-all
+}
+
+package() {
+ cd u-boot-${pkgver/rc/-rc}
+ install -m 755 -d "$pkgdir"/usr/bin
+ install -m 755 -t "$pkgdir"/usr/bin/ tools/{mk{,env}image,env/fw_printenv,img2srec,dumpimage,netconsole,jtagconsole,ncb}
+ ln -s fw_printenv "$pkgdir"/usr/bin/fw_setenv
+ install -m 644 -D doc/mkimage.1 "$pkgdir"/usr/share/man/man1/mkimage.1
+}
+