community/shedskin: fix

This commit is contained in:
Kevin Mihelich 2017-07-18 18:42:11 +00:00
parent 0ba4a95b35
commit 9de72ba518

View file

@ -18,11 +18,11 @@ source=("git+https://github.com/shedskin/shedskin.git#tag=v$pkgver")
sha256sums=('SKIP')
prepare() {
[[ $CARCH == "arm" ]] && sed -i 's/-march=native/-march=armv5te/' $pkgname/shedskin/FLAGS
[[ $CARCH == "armv6h" ]] && sed -i 's/-march=native/-march=armv6 -mfloat-abi=hard -mfpu=vfp/' $pkgname/shedskin/FLAGS
[[ $CARCH == "armv7h" ]] && sed -i 's/-march=native/-march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard/' $pkgname/shedskin/FLAGS
[[ $CARCH == "aarch64" ]] && sed -i 's/-march=native/-march=armv8-a/' $pkgname/shedskin/FLAGS
sed -i 's:bin/python:usr/bin/python:' "$pkgname/scripts/$pkgname"
[[ $CARCH == "arm" ]] && sed -i 's/-march=native/-march=armv5te/' shedskin/FLAGS
[[ $CARCH == "armv6h" ]] && sed -i 's/-march=native/-march=armv6 -mfloat-abi=hard -mfpu=vfp/' shedskin/FLAGS
[[ $CARCH == "armv7h" ]] && sed -i 's/-march=native/-march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard/' shedskin/FLAGS
[[ $CARCH == "aarch64" ]] && sed -i 's/-march=native/-march=armv8-a/' shedskin/FLAGS
}
package() {