void-packages/srcpkgs/libtsm/template

29 lines
732 B
Bash

# Template file for 'libtsm'
pkgname=libtsm
version=3
revision=3
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="libxkbcommon-devel"
short_desc="Terminal-emulator State Machine"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="MIT"
homepage="http://www.freedesktop.org/wiki/Software/kmscon/libtsm/"
distfiles="${FREEDESKTOP_SITE}/kmscon/releases/libtsm-${version}.tar.xz"
checksum=114115d84a2bc1802683871ea2d70a16ddeec8d2f8cde89ebd2046d775e6cf07
post_install() {
vlicense COPYING
}
libtsm-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}