summaryrefslogtreecommitdiff
path: root/uboot-sunxi
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-01-09 12:44:49 +0100
committerErich Eckner <git@eckner.net>2020-01-09 12:44:49 +0100
commit3aa186789df415730066a37b35b82ea0de9a7041 (patch)
tree5d2f946fcda63be8f5536aa00097ffe07a246da0 /uboot-sunxi
parentc6116024f3f99c0bff081c3958352c25f47dc453 (diff)
downloadarchlinuxewe.git.save-3aa186789df415730066a37b35b82ea0de9a7041.tar.xz
uboot-sunxi: python3 -> python
Diffstat (limited to 'uboot-sunxi')
-rw-r--r--uboot-sunxi/PKGBUILD7
1 files changed, 5 insertions, 2 deletions
diff --git a/uboot-sunxi/PKGBUILD b/uboot-sunxi/PKGBUILD
index bcf3ae21..ee421469 100644
--- a/uboot-sunxi/PKGBUILD
+++ b/uboot-sunxi/PKGBUILD
@@ -35,7 +35,7 @@ pkgrel=1
arch=('armv7h')
url="http://git.denx.de/u-boot.git/"
license=('GPL')
-makedepends=('git' 'swig' 'bc' 'dtc' 'python2')
+makedepends=('git' 'swig' 'bc' 'dtc' 'python2' 'python')
backup=(boot/boot.txt boot/boot.scr)
source=("ftp://ftp.denx.de/pub/u-boot/u-boot-${pkgver}.tar.bz2"
'boot.txt'
@@ -47,7 +47,10 @@ sha512sums=('073d4e0234095c1bda1ffa7a648972aa4530d106ee1a73035e0501b1aba29516535
prepare() {
cd u-boot-${pkgver}
- sed -i 's/env python$/&2/' tools/binman/binman{,.py}
+ sed -i '
+ 1 s/env python$/&2/
+ 1 s/\(env python\)3$/\1/
+ ' tools/binman/binman{,.py}
}
build() {