git » pulseaudio-qt.git » commit 618c04a

Update to 1.3.0

author Antonio Rojas
2021-05-27 14:05:49 UTC
committer Antonio Rojas
2021-05-27 14:05:49 UTC
parent ac5b42526bb3e6497935727af722a782fb088478

Update to 1.3.0

PKGBUILD +7 -13

diff --git a/PKGBUILD b/PKGBUILD
index cbcf5fe..a243282 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,33 +1,27 @@
 # Maintainer:Antonio Rojas <arojas@archlinux.org>
 
 pkgname=pulseaudio-qt
-pkgver=1.2
-pkgrel=2
+pkgver=1.3
+pkgrel=1
 pkgdesc='Qt bindings for libpulse'
 arch=(x86_64)
 url='https://community.kde.org/Frameworks'
 license=(LGPL)
 depends=(qt5-base libpulse)
 makedepends=(extra-cmake-modules doxygen qt5-tools qt5-doc)
-source=("https://download.kde.org/stable/$pkgname/$pkgname-$pkgver.tar.xz"{,.sig})
-sha256sums=('2901121a27eb9b701727d299829d70a34509e5d1a3e94c84ee32ed3e91a118c4'
+source=(https://download.kde.org/stable/$pkgname/$pkgname-$pkgver.tar.xz{,.sig})
+sha256sums=('bceb07630d946fa0ce928b177687f618186cdef2309828188211d61a36589ec4'
             'SKIP')
 validpgpkeys=(2D1D5B0588357787DE9EE225EC94D18F7F05997E  # Jonathan Riddell <jr@jriddell.org>
               F53223F3337665C2CCEA122E873AC3459BBCF5C0) # Nicolas Fella <nicolas.fella@kdab.com>
 
-prepare() {
-  mkdir -p build
-}
-
 build() {
-  cd build
-  cmake ../$pkgname-$pkgver \
+  cmake -B build -S $pkgname-$pkgver \
     -DBUILD_QCH=ON \
     -DBUILD_TESTING=OFF
-  make
+  cmake --build build
 }
 
 package() {
-  cd build
-  make DESTDIR="$pkgdir" install
+  DESTDIR="$pkgdir" cmake --install build
 }