[arch-commits] Commit in liblo/trunk (PKGBUILD)
David Runge
dvzrv at archlinux.org
Fri Aug 24 20:07:29 UTC 2018
Date: Friday, August 24, 2018 @ 20:07:29
Author: dvzrv
Revision: 373851
upgpkg: liblo 1:0.29-2
Adding current maintainer. Updating to correct license LGPL2.1. oOnly using install to install examples, documentation and man pages. Adding additional docs.
Modified:
liblo/trunk/PKGBUILD
----------+
PKGBUILD | 41 ++++++++++++++++++++++-------------------
1 file changed, 22 insertions(+), 19 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-08-24 19:54:39 UTC (rev 373850)
+++ PKGBUILD 2018-08-24 20:07:29 UTC (rev 373851)
@@ -1,46 +1,49 @@
# $Id$
-# Maintainer: Ray Rashif <schiv at archlinux.org>
-# Contributor: David Runge <dave at sleepmap.de>
+# Maintainer: David Runge <dave at sleepmap.de>
+# Contributor: Ray Rashif <schiv at archlinux.org>
# Contributor: damir <damir at archlinux.org>
# Contributor: Pajaro
pkgname=liblo
pkgver=0.29
-pkgrel=1
+pkgrel=2
epoch=1
pkgdesc="A lightweight OSC (Open Sound Control) implementation"
arch=('x86_64')
url="http://liblo.sourceforge.net/"
-license=('GPL')
+license=('LGPL2.1')
depends=('glibc')
makedepends=('doxygen')
-source=("https://github.com/radarsat1/${pkgname}/releases/download/${pkgver}/$pkgname-$pkgver.tar.gz")
+source=("https://github.com/radarsat1/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz")
sha512sums=('11e20725a049c55c02ef8cd106be5802507f3df95422d8dad10009bdd1237af7517e3261c7336c3005e21ae8fd1e663badef46e4bae006c7af70520bdb336c7c')
+prepare() {
+ cd "$pkgname-$pkgver"
+ autoreconf -vfi
+}
+
build() {
- cd "$srcdir/$pkgname-$pkgver"
-
+ cd "$pkgname-$pkgver"
./configure --prefix=/usr
make
}
package() {
- cd "$srcdir/$pkgname-$pkgver"
-
+ cd "$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
+ # man pages
+ install -vDm 644 doc/man/man3/*.3 -t "${pkgdir}/usr/share/man/man3"
+ # examples
+ install -vDm 644 examples/*.{cpp,c} \
+ -t "${pkgdir}/usr/share/${pkgname}/examples/"
+ # docs
+ install -vDm 644 doc/html/* -t "${pkgdir}/usr/share/doc/${pkgname}/html/"
+ install -vDm 644 doc/latex/* -t "${pkgdir}/usr/share/doc/${pkgname}/latex/"
+ install -vDm 644 {AUTHORS,ChangeLog,NEWS,README,TODO} \
+ -t "${pkgdir}/usr/share/doc/${pkgname}/"
}
-
# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list