void-packages/srcpkgs/libt3key/template

32 lines
960 B
Bash

# Template file for 'libt3key'
pkgname=libt3key
version=0.2.10
revision=1
build_helper=qemu
build_style=configure
configure_args="--prefix=/usr"
hostmakedepends="pkg-config gettext"
makedepends="libtool gettext-devel libt3config-devel ncurses-libtinfo-devel"
short_desc="Tilde Terminal Toolkit's library for key serquences"
maintainer="Andrew Benson <abenson+void@gmail.com>"
license="GPL-3.0-or-later"
homepage="https://os.ghalkes.nl/t3/libt3key.html"
distfiles="https://os.ghalkes.nl/dist/libt3key-${version}.tar.bz2"
checksum=b3f63c8a5bdf4efc10a293e5124a4a1095af6149af96b0a10b3ce7da7400f8c1
export LIBTOOL=${XBPS_CROSS_BASE}/usr/bin/libtool
if [ "$CROSS_BUILD" ]; then
export QEMU_USER_STATIC=qemu-${XBPS_TARGET_QEMU_MACHINE}-static
fi
libt3key-devel_package() {
short_desc+=" - development files"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}