[arch-commits] Commit in liblo/trunk (PKGBUILD)

Ray Rashif schiv at archlinux.org
Thu Oct 12 02:56:14 UTC 2017


    Date: Thursday, October 12, 2017 @ 02:56:13
  Author: schiv
Revision: 307521

upgpkg: liblo 1:0.29-1

Delayed upstream sync; including docs

Modified:
  liblo/trunk/PKGBUILD

----------+
 PKGBUILD |   21 ++++++++++++++++++---
 1 file changed, 18 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-10-11 22:42:10 UTC (rev 307520)
+++ PKGBUILD	2017-10-12 02:56:13 UTC (rev 307521)
@@ -1,10 +1,11 @@
 # $Id$
 # Maintainer: Ray Rashif <schiv at archlinux.org>
+# Contributor: David Runge <dave at sleepmap.de>
 # Contributor: damir <damir at archlinux.org>
 # Contributor: Pajaro
 
 pkgname=liblo
-pkgver=0.28
+pkgver=0.29
 pkgrel=1
 epoch=1
 pkgdesc="A lightweight OSC (Open Sound Control) implementation"
@@ -12,8 +13,9 @@
 url="http://liblo.sourceforge.net/"
 license=('GPL')
 depends=('glibc')
-source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz")
-md5sums=('e2a4391a08b49bb316c03e2034e06fa2')
+makedepends=('doxygen')
+source=("https://github.com/radarsat1/${pkgname}/releases/download/${pkgver}/$pkgname-$pkgver.tar.gz")
+sha512sums=('11e20725a049c55c02ef8cd106be5802507f3df95422d8dad10009bdd1237af7517e3261c7336c3005e21ae8fd1e663badef46e4bae006c7af70520bdb336c7c')
 
 build() {
   cd "$srcdir/$pkgname-$pkgver"
@@ -26,6 +28,19 @@
   cd "$srcdir/$pkgname-$pkgver"
 
   make DESTDIR="$pkgdir" install
+
+  # package docs, by request; the package size is less than 1MB
+  # reasonable to include even if it increases from a few KBs to 100s of KBs -- schiv
+  mkdir -p ${pkgdir}/usr/share/{man/man3,doc/${pkgname}/{html,latex},${pkgname}/examples}
+
+  # delete broken man pages
+  rm -f doc/man/man3/_*.3
+
+  # move all doc
+  install -Dm 644 doc/html/* ${pkgdir}/usr/share/doc/${pkgname}/html
+  install -Dm 644 doc/latex/* ${pkgdir}/usr/share/doc/${pkgname}/latex
+  install -Dm 644 doc/man/man3/*.3 ${pkgdir}/usr/share/man/man3
+  install -Dm 644 examples/*.{cpp,c} ${pkgdir}/usr/share/${pkgname}/examples
 }
 
 # vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list