void-packages/srcpkgs/kmscon/template

25 lines
971 B
Text

# Template file for 'kmscon'
pkgname=kmscon
version=8
revision=1
build_style=gnu-configure
configure_args="--enable-multi-seat --disable-static"
hostmakedepends="pkg-config docbook-xsl xkeyboard-config"
makedepends="MesaLib-devel pango-devel libtsm-devel libxkbcommon-devel
libpciaccess-devel libudev-devel systemd-devel dbus-devel fuse-devel"
depends="xkeyboard-config"
short_desc="Terminal emulator based on Kernel Mode Setting (KMS)"
maintainer="Juan RP <xtraeme@gmail.com>"
license="MIT"
homepage="http://www.freedesktop.org/wiki/Software/kmscon"
distfiles="http://freedesktop.org/software/kmscon/releases/kmscon-8.tar.xz"
checksum=0ab01c1cdc4fbd692ce765e80478bc2d9663a7c55a5c75cc7ac421366ee6ae2b
post_install() {
vinstall COPYING 644 usr/share/licenses/${pkgname}
vmkdir usr/lib/systemd/system
install -m644 docs/kmscon{,vt@}.service ${DESTDIR}/usr/lib/systemd/system
# Remove devel files.
rm -rf ${DESTDIR}/usr/include
rm -rf ${DESTDIR}/usr/lib/pkgconfig
}