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

David Runge dvzrv at archlinux.org
Wed Feb 7 12:49:54 UTC 2018


    Date: Wednesday, February 7, 2018 @ 12:49:52
  Author: dvzrv
Revision: 289973

upgpkg: jalv 1.6.0-1

Upgrading to 1.6.0. Switching to https for url and source.
Adding pgp key of David Robillard. Dropping unneeded dependencies. Adding qt5-base to makedepends.
Removing unneeded fixes. Adding docs. Minor fixes.

Modified:
  jalv/trunk/PKGBUILD

----------+
 PKGBUILD |   45 ++++++++++++++++++++-------------------------
 1 file changed, 20 insertions(+), 25 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-02-07 12:28:07 UTC (rev 289972)
+++ PKGBUILD	2018-02-07 12:49:52 UTC (rev 289973)
@@ -1,42 +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>
 
 pkgname=jalv
-pkgver=1.4.6
-pkgrel=2
+pkgver=1.6.0
+pkgrel=1
 pkgdesc="A simple but fully featured LV2 host for Jack"
 arch=('x86_64')
-url="http://drobilla.net/software/$pkgname/"
+url="https://drobilla.net/software//"
 license=('custom:ISC')
 depends=('lilv' 'suil')
-makedepends=('python2' 'qt4' 'gtk2' 'gtk3' 'gtkmm')
+makedepends=('python' 'qt4' 'qt5-base' 'gtk3' 'gtkmm')
 optdepends=('qt4: Qt 4.x frontend'
-            'gtk2: Gtk+ 2.x frontend'
+            'qt5-base: Qt 5.x frontend'
             'gtk3: Gtk+ 3.x frontend'
-            'gtkmm: Gtk++ 2.x frontend')
-source=(http://download.drobilla.net/$pkgname-$pkgver.tar.bz2{,.sig})
-md5sums=('8c11c58c4b0e69fb6b21041bcac275f7'
-         'SKIP')
+            'gtkmm: Gtk+ 2.x frontend')
+source=("https://download.drobilla.net/${pkgname}-${pkgver}.tar.bz2"{,.sig})
+sha512sums=('70453404788846774ef88b43653379f97140301e09e8de61779683df9ee85120485bebf03c959624639dc4d8dd71ce83db2a89b14b66be17696a88d1820ac1b3'
+            'SKIP')
 validpgpkeys=('907D226E7E13FA337F014A083672782A9BF368F3') # David Robillard
 
-prepare() {
-  cd $pkgname-$pkgver
-  # use moc-qt4
-  sed -i 's/moc/&-qt4/;s/${MOC}/moc-qt4/' wscript
-}
-
 build() {
-  cd $pkgname-$pkgver
-  CXXFLAGS+=' -std=c++11'
-  python2 waf configure --prefix=/usr
-  python2 waf
+  cd "${pkgname}-${pkgver}"
+  python waf configure --prefix=/usr
+  python waf
 }
 
 package() {
-  cd $pkgname-$pkgver
-  python2 waf install --destdir="$pkgdir"
-
+  cd "${pkgname}-${pkgver}"
+  python waf install --destdir="${pkgdir}"
   # license
-  install -Dm644 COPYING \
-    "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+  install -vDm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  # docs
+  install -t "${pkgdir}/usr/share/doc/${pkgname}" \
+    -vDm644 {AUTHORS,NEWS,README}
 }



More information about the arch-commits mailing list