diff options
author | Erich Eckner <git@eckner.net> | 2020-01-09 12:44:49 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2020-01-09 12:44:49 +0100 |
commit | 3aa186789df415730066a37b35b82ea0de9a7041 (patch) | |
tree | 5d2f946fcda63be8f5536aa00097ffe07a246da0 /uboot-sunxi/PKGBUILD | |
parent | c6116024f3f99c0bff081c3958352c25f47dc453 (diff) | |
download | archlinuxewe-3aa186789df415730066a37b35b82ea0de9a7041.tar.xz |
uboot-sunxi: python3 -> python
Diffstat (limited to 'uboot-sunxi/PKGBUILD')
-rw-r--r-- | uboot-sunxi/PKGBUILD | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/uboot-sunxi/PKGBUILD b/uboot-sunxi/PKGBUILD index bcf3ae21a..ee4214695 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() { |