void-packages/srcpkgs/libical/template

28 lines
831 B
Bash

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