void-packages/srcpkgs/unibilium/template

31 lines
863 B
Bash

# Template file for 'unibilium'
pkgname=unibilium
version=2.1.2
revision=1
build_style=gnu-configure
make_check_target="test"
hostmakedepends="automake libtool perl"
short_desc="Simple, self-contained terminfo library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-3.0-or-later"
homepage="https://github.com/neovim/unibilium"
changelog="https://raw.githubusercontent.com/neovim/unibilium/refs/heads/master/Changes"
distfiles="https://github.com/neovim/unibilium/archive/v${version}.tar.gz"
checksum=370ecb07fbbc20d91d1b350c55f1c806b06bf86797e164081ccc977fc9b3af7a
pre_configure() {
autoreconf -fi
}
unibilium-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.a
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
vmove usr/share/man/man3
}
}