void-packages/srcpkgs/libical/template

24 lines
713 B
Bash

# Template build file for 'libical'.
pkgname=libical
version=2.0.0
revision=2
build_style=cmake
hostmakedepends="perl"
short_desc="Reference implementation of the iCalendar data type and format"
homepage="http://libical.github.io/libical/"
license="LGPL-2.1, MPL-1"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
distfiles="https://github.com/${pkgname}/${pkgname}/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=20f4a98475052e1200d2691ba50b27969e4bedc6e50bffd5e2fa81f4ac90de9a
libical-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.a
vmove usr/lib/*.so
}
}