From d64fd50975e92eaf9064d6f46667e66c8035d588 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Wed, 13 Jun 2018 04:47:47 -0300 Subject: [PATCH] phodav: add -devel package, modernize. Closes #15116. Signed-off-by: Enno Boland --- srcpkgs/phodav-devel | 1 + srcpkgs/phodav/template | 24 ++++++++++++++++++++---- 2 files changed, 21 insertions(+), 4 deletions(-) create mode 120000 srcpkgs/phodav-devel diff --git a/srcpkgs/phodav-devel b/srcpkgs/phodav-devel new file mode 120000 index 00000000000..0018ee1e000 --- /dev/null +++ b/srcpkgs/phodav-devel @@ -0,0 +1 @@ +phodav \ No newline at end of file diff --git a/srcpkgs/phodav/template b/srcpkgs/phodav/template index 25c56df6ddd..f72442e7868 100644 --- a/srcpkgs/phodav/template +++ b/srcpkgs/phodav/template @@ -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 " -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" + } +}