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

David Runge dvzrv at archlinux.org
Wed Aug 7 18:39:11 UTC 2019


    Date: Wednesday, August 7, 2019 @ 18:39:10
  Author: dvzrv
Revision: 498180

upgpkg: libfishsound 1.0.0-3

Simplifying installation of license and docs. Adding libfishsound.so to provides. Minor cleanup.

Modified:
  libfishsound/trunk/PKGBUILD

----------+
 PKGBUILD |   17 +++++++----------
 1 file changed, 7 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-07 18:34:09 UTC (rev 498179)
+++ PKGBUILD	2019-08-07 18:39:10 UTC (rev 498180)
@@ -4,12 +4,13 @@
 
 pkgname=libfishsound
 pkgver=1.0.0
-pkgrel=2
+pkgrel=3
 pkgdesc="A simple programming interface that wraps Xiph.Org audio codecs"
 arch=('x86_64')
 url="https://www.xiph.org/fishsound/"
-license=('custom:BSD')
+license=('BSD')
 depends=('libvorbis' 'speex' 'flac')
+provides=('libfishsound.so')
 source=("https://github.com/kfish/${pkgname}/archive/${pkgver}.tar.gz")
 sha512sums=('52a98489d8cebfd92a1aa18511643108cc818379cf4470fe177c4a27e998f2652e4ffa94a50dd4f8838753714b9001eb8ee9ecb2fff858179f3bc7ffe6d7e35b')
 
@@ -28,11 +29,7 @@
 package() {
   cd "${pkgname}-${pkgver}"
   make DESTDIR="$pkgdir/" docdir=./docs install
-
-  # license
-  install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-  install -Dm644 AUTHORS "${pkgdir}/usr/share/doc/${pkgname}/AUTHORS"
-  install -Dm644 ChangeLog "${pkgdir}/usr/share/doc/${pkgname}/ChangeLog"
-  install -Dm644 NEWS "${pkgdir}/usr/share/doc/${pkgname}/NEWS"
-  install -Dm644 README "${pkgdir}/usr/share/doc/${pkgname}/README"
-} 
+  install -vDm 644 COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -vDm 644 {AUTHORS,ChangeLog,NEWS,README} \
+    -t "${pkgdir}/usr/share/doc/${pkgname}"
+}


More information about the arch-commits mailing list