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

David Runge dvzrv at archlinux.org
Sat Dec 2 15:55:40 UTC 2017


    Date: Saturday, December 2, 2017 @ 15:55:38
  Author: dvzrv
Revision: 271891

upgpkg: blop 0.2.8-2

Changing maintainer. Switching to https source. Switching to sha512sums. Including various docs. Minor fixes.

Modified:
  blop/trunk/PKGBUILD

----------+
 PKGBUILD |   21 ++++++++++++++-------
 1 file changed, 14 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-12-02 15:19:17 UTC (rev 271890)
+++ PKGBUILD	2017-12-02 15:55:38 UTC (rev 271891)
@@ -1,9 +1,10 @@
 # $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>
 
 pkgname=blop
 pkgver=0.2.8
-pkgrel=1
+pkgrel=2
 pkgdesc="Bandlimited LADSPA Oscillator Plugins"
 arch=('x86_64')
 url="http://blop.sourceforge.net/"
@@ -10,16 +11,22 @@
 license=('GPL')
 depends=('ladspa')
 groups=('ladspa-plugins')
-source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz")
-md5sums=('4baedbf1e7cacc7d1034c4bcd5556d6f')
+source=("https://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('5a1bb2e4ba976dd87f8b34538b3a8d2ed21ba0b8818d4b0a713061aeeae7fd52377477314a758cc7082a932315be8ec99006dfc3f5c9712d8d566852adbf671f')
 
 build() {
-  cd "$srcdir/$pkgname-$pkgver"
+  cd "${pkgname}-${pkgver}"
   ./configure --prefix=/usr
   make
 }
 
 package(){
-  cd "$srcdir/$pkgname-$pkgver"
-  make DESTDIR="$pkgdir/" install
+  cd "${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+  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 -Dm644 THANKS "${pkgdir}/usr/share/doc/${pkgname}/THANKS"
+  install -Dm644 TODO "${pkgdir}/usr/share/doc/${pkgname}/TODO"
 }



More information about the arch-commits mailing list