summaryrefslogtreecommitdiff
path: root/nonprism
diff options
context:
space:
mode:
authorbill-auger <mr.j.spam.me@gmail.com>2021-06-18 18:00:50 -0400
committerbill-auger <mr.j.spam.me@gmail.com>2021-07-19 15:35:59 -0400
commit63599331471edefe940ad4a519ab6320b762bdf5 (patch)
treeb5975443f3738b15623bb6472ae080fdbd3c2a1c /nonprism
parent6159854379d65ed3a12c56465bd11ded64be5998 (diff)
downloadabslibre-63599331471edefe940ad4a519ab6320b762bdf5.tar.gz
abslibre-63599331471edefe940ad4a519ab6320b762bdf5.tar.bz2
abslibre-63599331471edefe940ad4a519ab6320b762bdf5.zip
[pidgin]: install API docs
Diffstat (limited to 'nonprism')
-rw-r--r--nonprism/pidgin/PKGBUILD13
1 files 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