From 63599331471edefe940ad4a519ab6320b762bdf5 Mon Sep 17 00:00:00 2001 From: bill-auger Date: Fri, 18 Jun 2021 18:00:50 -0400 Subject: [pidgin]: install API docs --- nonprism/pidgin/PKGBUILD | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/nonprism/pidgin/PKGBUILD b/nonprism/pidgin/PKGBUILD index c9bc91599..348a6e722 100644 --- a/nonprism/pidgin/PKGBUILD +++ b/nonprism/pidgin/PKGBUILD @@ -10,6 +10,7 @@ # parabola changes and rationale: # - remove modules for and artwork non-privacy-respecting services +# - generate and install doxygen API docs (upstream no longer publishes them) pkgname=('pidgin' 'libpurple' 'finch') @@ -73,10 +74,9 @@ build() { --disable-meanwhile \ --disable-gnutls \ --enable-cyrus-sasl \ - --disable-doxygen \ --enable-nm \ --with-system-ssl-certs=/etc/ssl/certs - make + make } package_pidgin(){ @@ -97,8 +97,12 @@ package_pidgin(){ # Remove files that are packaged in libpurle make -C libpurple DESTDIR="$pkgdir" uninstall-libLTLIBRARIES + # Remove files that are packaged in finch rm "$pkgdir/usr/share/man/man1/finch.1" + # generate doxygen API docs + make docs + # https://bugs.archlinux.org/task/53770 # https://bugs.archlinux.org/task/69026 find "$pkgdir/usr/lib/perl5" -name perllocal.pod -delete @@ -121,6 +125,11 @@ package_libpurple(){ make -C "$_dir" DESTDIR="$pkgdir" install done + # install doxygen API docs + install -Dm644 doc/html/search/* -t "$pkgdir"/usr/share/gtk-doc/html/pidgin/search/ + rm -rf doc/html/search/ + install -Dm644 doc/html/* -t "$pkgdir"/usr/share/gtk-doc/html/pidgin/ + # https://bugs.archlinux.org/task/53770 # https://bugs.archlinux.org/task/69026 find "$pkgdir/usr/lib/perl5" -name perllocal.pod -delete -- cgit v1.2.3