community/toolame: v8 fix

This commit is contained in:
Kevin Mihelich 2016-01-09 00:45:15 +00:00
parent b8364ae0a9
commit 292dee71b8

View file

@ -26,6 +26,11 @@ build() {
[ "$CARCH" = "arm" ] && sed -i "s|-march=i686|-march=armv5te|g" Makefile
[ "$CARCH" = "armv6h" ] && sed -i "s|-march=i686|-march=armv6 -mfloat-abi=hard -mfpu=vfp|g" Makefile
[ "$CARCH" = "armv7h" ] && sed -i "s|-march=i686|-march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16|g" Makefile
[ "$CARCH" = "aarch64" ] && sed -i "s|-march=i686|-march=armv8-a -std=gnu89|g" Makefile
make
}
package() {
cd $srcdir/$pkgname-$pkgver
install -D -m755 toolame $pkgdir/usr/bin/toolame
}