author | Antonio Rojas
<arojas@archlinux.org> 2021-06-19 18:53:26 UTC |
committer | Antonio Rojas
<arojas@archlinux.org> 2021-06-19 18:53:26 UTC |
parent | d87945f657b5d535f45262117253bf6d55ed18e4 |
PKGBUILD | +7 | -13 |
diff --git a/PKGBUILD b/PKGBUILD index d8c51d8..3a17766 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -4,31 +4,25 @@ pkgbase=polkit-qt pkgname=(polkit-qt5) -pkgver=0.113.0 -pkgrel=2 +pkgver=0.114.0 +pkgrel=1 pkgdesc='A library that allows developers to access PolicyKit API with a nice Qt-style API' arch=(x86_64) url='https://www.kde.org/' license=(LGPL) depends=(polkit qt5-base) makedepends=(cmake) -source=("https://download.kde.org/stable/$pkgbase-1/$pkgbase-1-$pkgver.tar.xz"{,.sig}) -sha256sums=('5b866a2954ef10ffb66156e2fe8ad0321b5528a8df2e4a91b02f5041ce5563a7' +source=(https://download.kde.org/stable/$pkgbase-1/$pkgbase-1-$pkgver.tar.xz{,.sig}) +sha256sums=('2eb0f22445888295ffa2bfbc0c3693847a0f973bb6b0c3e4cce0218be7e3907e' 'SKIP') validpgpkeys=(D81C0CB38EB725EF6691C385BB463350D6EF31EF) # Heiko Becker <heirecka@exherbo.org> -prepare() { - mkdir -p build -} - build() { - cd build - cmake ../$pkgbase-1-$pkgver \ + cmake -B build -S $pkgbase-1-$pkgver \ -DCMAKE_INSTALL_PREFIX=/usr - make + cmake --build build } package_polkit-qt5() { - cd build - make DESTDIR="$pkgdir" install + DESTDIR="$pkgdir" cmake --install build }