void-packages/srcpkgs/termrec/template

31 lines
742 B
Bash

# Template file for 'termrec'
pkgname=termrec
version=0.18
revision=1
build_style=gnu-configure
makedepends="libcurl-devel"
short_desc="Record terminal"
maintainer="Andrew Benson <abenson+void@gmail.com>"
license="LGPL-2.0-or-later"
homepage="http://angband.pl/termrec.html"
distfiles="${SOURCEFORGE_SITE}/termrec/termrec-${version}.tar.xz"
checksum=34701853dc26073b7cd5d202438998349c45a61a0f210948e79469bf3255a5e3
libtermrec_package() {
short_desc+=" - libraries"
pkg_install() {
vmove "usr/lib/*.so.*"
}
}
libtermrec-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/share/man/man3
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}