phodav: add -devel package, modernize.

Closes #15116.

Signed-off-by: Enno Boland <gottox@voidlinux.eu>
This commit is contained in:
maxice8 2018-06-13 04:47:47 -03:00 committed by Enno Boland
parent b847b3b394
commit d64fd50975
No known key found for this signature in database
GPG Key ID: D09964719BDE9971
2 changed files with 21 additions and 4 deletions

1
srcpkgs/phodav-devel Symbolic link
View File

@ -0,0 +1 @@
phodav

View File

@ -1,13 +1,29 @@
# Template file for 'phodav'
pkgname=phodav
version=2.2
revision=1
revision=2
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="glib intltool itstool pkg-config"
makedepends="libsoup-devel avahi-libs-devel"
short_desc="GNOME puzzle game where you remove similar objects"
makedepends="avahi-libs-devel libsoup-devel"
short_desc="GNOME Web Dav implementation"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="GPL-2"
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"
}
}