void-packages/srcpkgs/libtickit/template

35 lines
1008 B
Bash

# Template file for 'libtickit'
pkgname=libtickit
version=0.3.2
revision=1
build_style=gnu-makefile
make_build_args="LIBTOOL=${XBPS_CROSS_BASE}/usr/bin/libtool"
make_install_args="LIBTOOL=${XBPS_CROSS_BASE}/usr/bin/libtool"
make_check_target=test
hostmakedepends="pkg-config"
makedepends="unibilium-devel libtermkey-devel libtool"
checkdepends="perl"
short_desc="Library for building interactive full-screen terminal programs"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="http://www.leonerd.org.uk/code/libtickit/"
distfiles="http://www.leonerd.org.uk/code/libtickit/libtickit-${version}.tar.gz"
checksum=7df4d62607754225f2a02c61e56a5fb1a33f564d7df50f7fa26d8485924bc4d4
post_install() {
vlicense LICENSE
}
libtickit-devel_package() {
depends="libtickit-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/man/man3
vmove usr/share/man/man7
vmove "usr/lib/*.so"
vmove "usr/lib/*.a"
}
}