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

David Runge dvzrv at archlinux.org
Sat Dec 2 00:52:53 UTC 2017


    Date: Saturday, December 2, 2017 @ 00:52:52
  Author: dvzrv
Revision: 271237

upgpkg: amsynth 1.8.0-2

Changing maintainer. Switching to correct license (GPL2). Moving configure to prepare(). Switching to sha512sums. Installing various docs.

Modified:
  amsynth/trunk/PKGBUILD

----------+
 PKGBUILD |   26 ++++++++++++++++----------
 1 file changed, 16 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-12-02 00:16:36 UTC (rev 271236)
+++ PKGBUILD	2017-12-02 00:52:52 UTC (rev 271237)
@@ -1,31 +1,37 @@
 # $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: Alessio Biancalana <dottorblaster at gmail.com>
 
 pkgname=amsynth
 pkgver=1.8.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Analogue Modeling SYNTHesizer"
 arch=('x86_64')
 url="https://amsynth.github.io/"
-license=('GPL')
+license=('GPL2')
 groups=('dssi-plugins' 'lv2-plugins')
 depends=('gtk2' 'jack' 'liblo')
 makedepends=('dssi' 'ladspa' 'intltool')
-source=("https://github.com/amsynth/amsynth/releases/download/release-$pkgver/amsynth-$pkgver.tar.bz2")
-md5sums=('54eaabc55d90ece5675b3cb3c2dc732d')
+source=("https://github.com/amsynth/amsynth/releases/download/release-${pkgver}/amsynth-${pkgver}.tar.bz2")
+sha512sums=('a47489b103dbdd1cb2233d8629acfda2a1d26ac1f7ea5b8c4e7925676842cac21758ca94b50894e71426517bd826e9a9b6fd26800516054e24d62f7cbce4f0f9')
 
-build() {
-  cd $pkgname-$pkgver
-
+prepare() {
+  cd "${pkgname}-${pkgver}"
   # enable required C++11 support
   export CXXFLAGS+=' -std=c++11'
+  ./configure --prefix=/usr
+}
 
-  ./configure --prefix=/usr
+build() {
+  cd "${pkgname}-${pkgver}"
   make
 }
 
 package() {
-  cd $pkgname-$pkgver
+  cd "${pkgname}-${pkgver}"
   make DESTDIR="$pkgdir/" install
+  install -Dm 644 AUTHORS "${pkgdir}/usr/share/doc/${pkgname}/AUTHORS"
+  install -Dm 644 NEWS "${pkgdir}/usr/share/doc/${pkgname}/NEWS"
+  install -Dm 644 README "${pkgdir}/usr/share/doc/${pkgname}/README"
 }



More information about the arch-commits mailing list