void-packages/srcpkgs/phodav/template

30 lines
812 B
Bash

# Template file for 'phodav'
pkgname=phodav
version=2.2
revision=2
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="glib intltool itstool pkg-config"
makedepends="avahi-libs-devel libsoup-devel"
short_desc="GNOME Web Dav implementation"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="LGPL-2.1-or-later"
homepage="https://wiki.gnome.org/phodav"
distfiles="${GNOME_SITE}/${pkgname}/${version}/${pkgname}-${version}.tar.xz"
checksum=080305dc9e804562f200ffc8c7d345c76754fce9cb01489dddb1b2c52c0557c1
post_install() {
rm -rf -- "${DESTDIR}"/usr/lib/systemd
}
phodav-devel_package() {
depends="phodav-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/gtk-doc
vmove "usr/lib/*.so"
}
}