azpainter: drop useless template hook

this was fixed by previous commit
This commit is contained in:
q66 2020-12-11 01:23:33 +01:00
parent 8d7b994cbf
commit c06006460e

View file

@ -13,10 +13,3 @@ license="GPL-3.0-or-later"
homepage="https://github.com/Symbian9/azpainter" homepage="https://github.com/Symbian9/azpainter"
distfiles="https://github.com/Symbian9/azpainter/releases/download/v${version}/${pkgname}-${version}.tar.xz" distfiles="https://github.com/Symbian9/azpainter/releases/download/v${version}/${pkgname}-${version}.tar.xz"
checksum=85f3f935e76b420f2e5e272514368fdfbe4c25c01daa1e161ac28a6e1edb0d2c checksum=85f3f935e76b420f2e5e272514368fdfbe4c25c01daa1e161ac28a6e1edb0d2c
pre_build() {
vsed -e 's|CFLAGS :=|override CFLAGS =|' \
-e "/CC/s|:= gcc|= ${XBPS_CROSS_TRIPLET}-gcc|" \
-e 's|LDFLAGS :=|override LDFLAGS =|' \
-i Makefile -i mlib/Makefile
}