From 997e1c24ef1209ccba5587ea7371283a7322f3e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Wed, 17 Feb 2021 20:51:52 +0700 Subject: [PATCH] xskat: build with gnu-makefile --- srcpkgs/xskat/template | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/srcpkgs/xskat/template b/srcpkgs/xskat/template index fbb276d97b8..2e77d4fb257 100644 --- a/srcpkgs/xskat/template +++ b/srcpkgs/xskat/template @@ -1,20 +1,20 @@ # Template file for 'xskat' pkgname=xskat version=4.0 -revision=4 -build_style=gnu-configure -hostmakedepends="pkg-config xorg-util-macros imake xorg-cf-files gccmakedep" +revision=5 +build_style=gnu-makefile makedepends="libX11-devel" short_desc="The card game Skat for Linux" maintainer="Markus Berger " -license="BSD" +license="custom:xskat" homepage="http://www.xskat.de" distfiles="${homepage}/${pkgname}-${version}.tar.gz" checksum=8ba52797ccbd131dce69b96288f525b0d55dee5de4008733f7a5a51deb831c10 +LDFLAGS=-lX11 -do_build() { - make ${makejobs} CCOPTIONS="$CFLAGS" LOCAL_LDFLAGS="$LDFLAGS" -} -post_install() { +do_install() { + sed -n '/xscat.*a card game/,/ z .*suffix/p' cards.c >LICENSE + vbin xskat vman xskat.man xskat.6 + vlicense LICENSE }