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

Antonio Rojas arojas at archlinux.org
Sun Sep 20 09:05:30 UTC 2020


    Date: Sunday, September 20, 2020 @ 09:05:30
  Author: arojas
Revision: 710961

Update to 2.4.2

Modified:
  cantata/trunk/PKGBUILD

----------+
 PKGBUILD |   16 +++++-----------
 1 file changed, 5 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-09-20 08:45:05 UTC (rev 710960)
+++ PKGBUILD	2020-09-20 09:05:30 UTC (rev 710961)
@@ -5,7 +5,7 @@
 # Contributor: MisterFred <mister.fred[at]free[dot]fr>
 
 pkgname=cantata
-pkgver=2.4.1
+pkgver=2.4.2
 pkgrel=1
 pkgdesc='Qt5 client for the music player daemon (MPD)'
 arch=(x86_64)
@@ -16,20 +16,14 @@
             'sshfs: remote devices support')
 makedepends=(cmake qt5-tools ffmpeg libebur128)
 source=("https://github.com/CDrummond/cantata/releases/download/v$pkgver/$pkgname-$pkgver.tar.bz2")
-sha256sums=('cfcca733876e7f64dd410993313b4db7e0f27e7a26f51228774f09a1b3764a9f')
+sha256sums=('3ed25d0c838720af7ed08b89a30f3e05d6952d40a5f520f29b3558b2eacdec82')
 
-prepare() {
-  mkdir -p build
-}
-
 build() {
-  cd build
-  cmake ../$pkgname-$pkgver \
+  cmake -B build -S $pkgname-$pkgver \
     -DCMAKE_INSTALL_PREFIX=/usr
-  make
+  cmake --build build
 }
 
 package() {
-  cd build
-  make DESTDIR="$pkgdir" install
+  DESTDIR="$pkgdir" cmake --install build
 }



More information about the arch-commits mailing list