scons: Rebuild for python 3.8

This commit is contained in:
Alexey Pavlov 2020-04-16 23:58:32 +03:00
parent c500169ce8
commit 40f9f920bf

View File

@ -3,7 +3,7 @@
pkgname=scons
pkgver=3.1.2
pkgrel=2
pkgrel=3
pkgdesc="Extensible Python-based build utility"
arch=('any')
groups=('base-devel')
@ -37,11 +37,7 @@ package() {
--prefix=/usr \
--install-data=/usr/share \
--optimize=1 \
--root="$pkgdir"
# fix for python 3
sed -i 's:^#!.*bin/env python:#!/usr/bin/python3:' \
"$pkgdir"/usr/bin/*
--root="${pkgdir}"
install -Dm644 LICENSE.txt \
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"