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

Antonio Rojas arojas at archlinux.org
Thu Jun 4 11:23:46 UTC 2020


    Date: Thursday, June 4, 2020 @ 11:23:45
  Author: arojas
Revision: 638891

Update to 3.0.6

Modified:
  smb4k/trunk/PKGBUILD

----------+
 PKGBUILD |   18 +++++-------------
 1 file changed, 5 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-06-04 11:19:30 UTC (rev 638890)
+++ PKGBUILD	2020-06-04 11:23:45 UTC (rev 638891)
@@ -3,7 +3,7 @@
 # Contributor: Emanuele Rampichini <emanuele.rampichini at gmail.com>
 
 pkgname=smb4k
-pkgver=3.0.5
+pkgver=3.0.6
 pkgrel=1
 pkgdesc="A KDE program that browses samba shares"
 arch=(x86_64)
@@ -12,22 +12,14 @@
 depends=(kparts hicolor-icon-theme smbclient)
 makedepends=(extra-cmake-modules kdoctools plasma-framework)
 source=("https://downloads.sourceforge.net/project/$pkgname/$pkgver/$pkgname-$pkgver.tar.xz")
-sha256sums=('acaeb0c89c381532e89bd0e0560ab01131a6c0afe9eccd5a762ff30e8ad5be58')
+sha256sums=('07ae0e265069347c097937a367fc33897e7d8ec6e2118d8e9b7e15829ab3e643')
 
-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