vp-build/srcpkgs/libite/template

36 lines
904 B
Bash

# Template file for 'libite'
pkgname=libite
version=2.0.2
revision=1
build_style=gnu-configure
hostmakedepends="automake libtool"
short_desc="Lightweight library of frog DNA"
maintainer="Duncaen <duncaen@voidlinux.eu>"
license="MIT, ISC, BSD"
homepage="https://github.com/troglobit/libite"
#changelog="https://raw.githubusercontent.com/troglobit/libite/master/ChangeLog.md"
distfiles="https://github.com/troglobit/libite/archive/v${version}.tar.gz"
checksum=bd5d08066f3e53cc8967beb6f0620286aad7a24d49fb730caa1c6d09a26bb705
pre_configure() {
./autogen.sh
}
post_install() {
vlicense LICENSE
rm -rf ${DESTDIR}/usr/share/doc/libite
}
libite-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/doc
vmove "usr/lib/*.a"
vmove "usr/lib/*.la"
vmove "usr/lib/*.so"
}
}