xskat: build with gnu-makefile

This commit is contained in:
Đoàn Trần Công Danh 2021-02-17 20:51:52 +07:00
parent 094e9f5a6d
commit 7dc5d24bf5

View file

@ -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 <pulux@pf4sh.de>"
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
}