diff --git a/srcpkgs/xskat/template b/srcpkgs/xskat/template index fbb276d97b..2e77d4fb25 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 }