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

David Runge dvzrv at archlinux.org
Sun Dec 3 20:40:02 UTC 2017


    Date: Sunday, December 3, 2017 @ 20:40:02
  Author: dvzrv
Revision: 272041

upgpkg: libfishsound 1.0.0-2

Updating maintainer. Switching to https for url and source. Switching to github for source.
Switching to sha512sums. Adding prepare() to call autogen.sh. Installing various docs. Minor fixes.

Modified:
  libfishsound/trunk/PKGBUILD

----------+
 PKGBUILD |   27 ++++++++++++++++++---------
 1 file changed, 18 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-12-03 20:06:22 UTC (rev 272040)
+++ PKGBUILD	2017-12-03 20:40:02 UTC (rev 272041)
@@ -1,20 +1,26 @@
 # $Id$
-# Maintainer : speps <speps at aur dot archlinux dot org>
+# Maintainer: David Runge <dave at sleepmap.de>
+# Contributor: speps <speps at aur dot archlinux dot org>
 # Contributor: farid <farid at archlinux-br.org>
 
 pkgname=libfishsound
 pkgver=1.0.0
-pkgrel=1
+pkgrel=2
 pkgdesc="A simple programming interface that wraps Xiph.Org audio codecs"
 arch=('x86_64')
-url="http://www.xiph.org/fishsound/"
+url="https://www.xiph.org/fishsound/"
 license=('custom:BSD')
 depends=('libvorbis' 'speex' 'flac')
-source=("http://downloads.xiph.org/releases/libfishsound/$pkgname-$pkgver.tar.gz")
-md5sums=('02c5c7b361a35c9da3cf311d68800dab')
+source=("https://github.com/kfish/${pkgname}/archive/${pkgver}.tar.gz")
+sha512sums=('52a98489d8cebfd92a1aa18511643108cc818379cf4470fe177c4a27e998f2652e4ffa94a50dd4f8838753714b9001eb8ee9ecb2fff858179f3bc7ffe6d7e35b')
 
+prepare() {
+  cd "${pkgname}-${pkgver}"
+  ./autogen.sh
+}
+
 build() {
-  cd $pkgname-$pkgver
+  cd "${pkgname}-${pkgver}"
   ./configure --prefix=/usr \
               --enable-static=no
   make
@@ -21,10 +27,13 @@
 }
 
 package() {
-  cd $pkgname-$pkgver
+  cd "${pkgname}-${pkgver}"
   make DESTDIR="$pkgdir/" docdir=./docs install
 
   # license
-  install -Dm644 COPYING \
-    "$pkgdir/usr/share/licenses/$pkgname/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"
 } 



More information about the arch-commits mailing list