36 lines
993 B
Bash
36 lines
993 B
Bash
# Template file for 'unibilium'
|
|
pkgname=unibilium
|
|
version=2.1.1
|
|
revision=1
|
|
build_style=gnu-makefile
|
|
make_check_target="test"
|
|
hostmakedepends="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://github.com/neovim/unibilium/raw/master/Changes"
|
|
distfiles="https://github.com/neovim/${pkgname}/archive/v${version}.tar.gz"
|
|
checksum=6f0ee21c8605340cfbb458cbd195b4d074e6d16dd0c0e12f2627ca773f3cabf1
|
|
|
|
do_build() {
|
|
if [ "$CROSS_BUILD" ]; then
|
|
cp /usr/bin/libtool .
|
|
vsed -e "s,CCLD=.*,CCLD=$CC,g;s,CC=.*,CC=$CC,g" -i libtool
|
|
vsed -e 's,libtool,./libtool,g' -i Makefile
|
|
fi
|
|
make ${makejobs}
|
|
}
|
|
|
|
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
|
|
}
|
|
}
|