void-packages/srcpkgs/kmscon/template

33 lines
1.1 KiB
Text
Raw Normal View History

2013-01-16 08:46:12 +00:00
# Template file for 'kmscon'
pkgname=kmscon
version=6
revision=1
build_style=gnu-configure
configure_args="--enable-kmscon --disable-wlterm --enable-multi-seat
--enable-hotplug --enable-pciaccess --enable-eloop-dbus --disable-static"
makedepends="pkg-config docbook-xsl MesaLib-devel pango-devel libxkbcommon-devel
libpciaccess-devel libudev-devel systemd-devel dbus-devel fuse-devel
xkeyboard-config"
2013-01-16 08:46:12 +00:00
short_desc="Terminal emulator based on Kernel Mode Setting (KMS)"
maintainer="Juan RP <xtraeme@gmail.com>"
license="MIT"
homepage="https://github.com/dvdhrm/kmscon"
distfiles="https://github.com/downloads/dvdhrm/$pkgname/$pkgname-$version.tar.bz2"
checksum=380320998d56d4763241d21245d62d6d2540a50aa22d19f76b29ef636e7e82ee
post_install() {
vinstall COPYING 644 usr/share/licenses/${pkgname}
vmkdir usr/lib/systemd/system
install -m644 docs/kmscon{,@}.service ${DESTDIR}/usr/lib/systemd/system
# Remove devel files.
rm -rf ${DESTDIR}/usr/include
rm -rf ${DESTDIR}/usr/lib/pkgconfig
}
kmscon_package() {
depends="xkeyboard-config"
pkg_install() {
vmove usr
}
}