From 9499c446f6792f3d0da1f902bedf7e22ab7bc0a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89rico=20Rolim?= Date: Sun, 6 Dec 2020 19:56:48 -0300 Subject: [PATCH] splix: remove unnecessary build_style. Also xlint. --- srcpkgs/splix/template | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/srcpkgs/splix/template b/srcpkgs/splix/template index 60315c5d7b6..366aab114bc 100644 --- a/srcpkgs/splix/template +++ b/srcpkgs/splix/template @@ -1,20 +1,19 @@ -# Template file for 'splix-svn' +# Template file for 'splix' pkgname=splix version=2.0.0+svn315 revision=3 wrksrc="$pkgname-$version.orig" -build_style=gnu-makefile makedepends="cups-devel mit-krb5-devel jbigkit-devel" short_desc="CUPS driver for SPL printers (Samsung and several Xerox printers)" maintainer="Andrea Brancaleoni " -license="GPL-2" +license="GPL-2.0-only" homepage="http://splix.ap2c.org" distfiles="${DEBIAN_SITE}/main/s/$pkgname/${pkgname}_$version.orig.tar.gz" checksum="578a81bd5b1b97756a539c3bb6339fd109d54419887a73e705941da8aa7fac52" -CXXFLAGS=" -fno-strict-aliasing" +CXXFLAGS="-fno-strict-aliasing" do_build() { - sed -i rules.mk \ + vsed -i rules.mk \ -e's;$(CXX) -o;$(CXX) $(LDFLAGS) -o;' make CC="$CC" CXX="$CXX" LD="$LD" AR="$AR" RANLIB="$RANLIB" \ CPP="$CPP" AS="$AS" OBJDUMP="$OBJDUMP" STRIP="true" drv