void-packages/srcpkgs/io.elementary.calendar/template

38 lines
1.2 KiB
Bash

# Template file for 'io.elementary.calendar'
pkgname=io.elementary.calendar
version=5.0
revision=3
_git_commit=46346e48b53e9d3d59d9f567b622532338f50f32
wrksrc="calendar-${_git_commit}"
build_style=meson
build_helper="gir"
hostmakedepends="intltool pkg-config vala desktop-file-utils AppStream"
makedepends="granite-devel libglib-devel gtk+3-devel libgee08-devel
libchamplain-devel clutter-devel evolution-data-server-devel
folks-devel geocode-glib-devel geoclue2-devel libical-devel libnotify-devel"
short_desc="Desktop calendar app designed for elementary OS"
maintainer="Cameron Nemo <camerontnorman@gmail.com>"
license="GPL-3.0-only"
homepage="https://github.com/elementary/calendar"
distfiles="${homepage}/archive/${_git_commit}.tar.gz"
checksum=3be3851baeed67144e5cbed209b2c1b982fe9830db13372e3051423295dee345
libio.elementary.calendar_package() {
short_desc+=" - library"
pkg_install() {
vmove "usr/lib/*.so.*"
}
}
libio.elementary.calendar-devel_package() {
short_desc+=" - library development files"
depends="libio.elementary.calendar>=${version} evolution-data-server-devel
granite-devel gtk+3-devel libglib-devel libical-devel libsoup-devel"
pkg_install() {
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
vmove usr/include
vmove usr/share/vala
}
}