42 lines
1.1 KiB
Bash
42 lines
1.1 KiB
Bash
# Template file for 'libtickit'
|
|
pkgname=libtickit
|
|
version=0.4.3
|
|
revision=1
|
|
build_style=gnu-makefile
|
|
make_check_target=test
|
|
hostmakedepends="libtool perl pkg-config"
|
|
makedepends="libtermkey-devel libtool unibilium-devel"
|
|
checkdepends="perl"
|
|
short_desc="Library for building interactive full-screen terminal programs"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="MIT"
|
|
homepage="https://www.leonerd.org.uk/code/libtickit/"
|
|
distfiles="https://www.leonerd.org.uk/code/libtickit/libtickit-${version}.tar.gz"
|
|
checksum=a830588fa1f4c99d548c11e6df50281c23dfa01f75e2ab95151f02715db6bd63
|
|
|
|
post_extract() {
|
|
if [ "$CROSS_BUILD" ]; then
|
|
cp /usr/bin/libtool .
|
|
sed -e "s,CCLD=.*,CCLD=$CC,g;s,CC=.*,CC=$CC,g" -i libtool
|
|
sed -e "s,libtool,./libtool,g" -i Makefile
|
|
fi
|
|
}
|
|
|
|
|
|
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"
|
|
}
|
|
}
|