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

Antonio Rojas arojas at archlinux.org
Sun Jul 12 21:00:23 UTC 2020


    Date: Sunday, July 12, 2020 @ 21:00:23
  Author: arojas
Revision: 663365

Update to 2.2.0

Modified:
  skanlite/trunk/PKGBUILD

----------+
 PKGBUILD |   20 +++++++-------------
 1 file changed, 7 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-12 20:59:06 UTC (rev 663364)
+++ PKGBUILD	2020-07-12 21:00:23 UTC (rev 663365)
@@ -4,8 +4,8 @@
 # Contributor: Pierre Schmitz <pierre at archlinux.de>
 
 pkgname=skanlite
-pkgver=2.1.0.1
-pkgrel=2
+pkgver=2.2.0
+pkgrel=1
 pkgdesc="Image Scanning Application for KDE"
 arch=(x86_64)
 url='https://www.kde.org/applications/graphics/skanlite'
@@ -12,21 +12,15 @@
 license=(GPL)
 depends=(libksane kio)
 makedepends=(extra-cmake-modules kdoctools)
-source=("https://download.kde.org/stable/$pkgname/${pkgver%.*.*}/$pkgname-$pkgver.tar.xz") # {,.sig} - No public key available
-sha256sums=('b4733e55b706eaf749522aa81ec47bfd65a95c2fec994c1c47e0c4b628e70442')
+source=("https://download.kde.org/stable/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz")
+sha256sums=('54fecc3997547bae17215af7af468a225d483ddb37be3053673392dcddd584e4')
 
-prepare() {
-  mkdir -p build
-}
-
 build() {
-  cd build
-  cmake ../$pkgname-$pkgver \
+  cmake -B build -S $pkgname-$pkgver \
     -DBUILD_TESTING=OFF
-  make
+  cmake --build build
 }
 
 package() {
-  cd build
-  make DESTDIR="$pkgdir" install
+  DESTDIR="$pkgdir" cmake --install build
 }



More information about the arch-commits mailing list