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

David Runge dvzrv at archlinux.org
Tue Sep 8 19:03:32 UTC 2020


    Date: Tuesday, September 8, 2020 @ 19:03:32
  Author: dvzrv
Revision: 701288

upgpkg: padthv1 0.9.17-1: Upgrade to 0.9.17.

Switch to cmake.

Modified:
  padthv1/trunk/PKGBUILD

----------+
 PKGBUILD |   24 +++++++++++-------------
 1 file changed, 11 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-09-08 19:00:09 UTC (rev 701287)
+++ PKGBUILD	2020-09-08 19:03:32 UTC (rev 701288)
@@ -1,7 +1,7 @@
 # Maintainer: David Runge <dvzrv at archlinux.org>
 
 pkgname=padthv1
-pkgver=0.9.16
+pkgver=0.9.17
 pkgrel=1
 pkgdesc="An old-school polyphonic additive synthesizer"
 arch=('x86_64')
@@ -9,31 +9,29 @@
 license=('GPL2')
 groups=('lv2-plugins' 'pro-audio')
 depends=('gcc-libs' 'glibc' 'hicolor-icon-theme' 'qt5-base')
-makedepends=('alsa-lib' 'fftw' 'jack' 'liblo' 'lv2' 'qt5-tools')
+makedepends=('alsa-lib' 'cmake' 'fftw' 'jack' 'liblo' 'lv2' 'qt5-tools')
 optdepends=('alsa-lib: for standalone application'
             'jack: for standalone application'
             'liblo: for standalone application'
             'non-session-manager: for session management using the standalone application')
 source=("https://download.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz")
-sha512sums=('ed849c29d6f0ac28609f979a1a6c080ae61e04c7fac158aa251f9076f91d5b497dc2270fa47de4b0d6eda3d080b2840775099cc6c60bef5605ee5e03c8eebe46')
-b2sums=('e674a85e6c28f07265d5e0628d9b3ec815cc5249dca38f7aa86720ed8fc7b7d66f04f937bb8ef04386b38c0fa1b20328654791fb86a7b9fa48843b783fdad146')
+sha512sums=('e621f8ea16e90d2626243a553807958c364bcb01ab7c9f5a8bfe726a1a61fe0e3c2a0bcbbfc479d6c7fd4ec3ef18ef81447caeb4dc1afccdb9c33b1c02b550a6')
+b2sums=('8fb84854027435dba7ba6dc969795933d40a5b019c61bbf546ef1db649e6c43d34552632db11c18a67dcf8df1b8e9529fb0a602d8888b8d4b596aaa05146c35b')
 
-prepare() {
-  cd "${pkgname}-${pkgver}"
-  autoreconf -vfi
-}
-
 build() {
   cd "${pkgname}-${pkgver}"
-  ./configure --prefix=/usr \
-              --libdir=/usr/lib
-  make
+  cmake -DCMAKE_INSTALL_PREFIX='/usr' \
+        -DCMAKE_BUILD_TYPE='None' \
+        -Wno-dev \
+        -B build \
+        -S .
+  make VERBOSE=1 -C build
 }
 
 package() {
   depends+=('libfftw3.so')
   cd "${pkgname}-${pkgver}"
-  make DESTDIR="$pkgdir/" install
+  make VERBOSE=1 DESTDIR="$pkgdir/" install -C build
   install -t "${pkgdir}/usr/share/doc/${pkgname}" \
     -vDm 644 {AUTHORS,ChangeLog,README,TODO}
 }



More information about the arch-commits mailing list