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

Antonio Rojas arojas at archlinux.org
Fri Oct 11 19:59:00 UTC 2019


    Date: Friday, October 11, 2019 @ 19:59:00
  Author: arojas
Revision: 515161

Cleanup dependencies, rebuild without Release mode

Modified:
  krusader/trunk/PKGBUILD

----------+
 PKGBUILD |   42 ++++++++++++++++++------------------------
 1 file changed, 18 insertions(+), 24 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-10-11 19:55:19 UTC (rev 515160)
+++ PKGBUILD	2019-10-11 19:59:00 UTC (rev 515161)
@@ -1,20 +1,16 @@
-# Maintainer: Lukas Jirkovsky <l.jirkovsky at gmail.com>
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Lukas Jirkovsky <l.jirkovsky at gmail.com>
+
 pkgname=krusader
 pkgver=2.7.2
-pkgrel=2
-pkgdesc="Advanced twin panel (commander style) file manager for KDE"
-arch=('x86_64')
+pkgrel=3
+pkgdesc="Advanced twin panel (commander style) file manager"
+arch=(x86_64)
 url="https://krusader.org/"
-license=('GPL')
-depends=('karchive' 'kbookmarks' 'kcodecs' 'kcompletion' 'kcoreaddons' 'kconfig'
-         'kdoctools' 'ki18n' 'kiconthemes' 'kitemviews' 'kio' 'knotifications'
-         'kparts' 'solid' 'ktextwidgets' 'kwallet' 'kwidgetsaddons' 'kwindowsystem'
-         'kxmlgui' 'kguiaddons' 'hicolor-icon-theme')
-makedepends=('cmake' 'extra-cmake-modules')
-optdepends=(
-            # archive formats
-			# look for KrServices::cmdExist calls
-            'xz: LZMA and XZ archive support'
+license=(GPL)
+depends=(kparts hicolor-icon-theme)
+makedepends=(extra-cmake-modules kdoctools)
+optdepends=('xz: LZMA and XZ archive support'
             'unzip: ZIP decompression support'
             'zip: ZIP archive support'
             'lhasa: LHA archive support'
@@ -31,24 +27,22 @@
             'kdiff3: file contents comparison'
             'krename: advanced rename tool'
             'konsole: terminal'
-            'ktexteditor: file editing support'
-)
+            'ktexteditor: file editing support')
 source=("https://download.kde.org/stable/krusader/$pkgver/$pkgname-$pkgver.tar.xz")
-md5sums=('dcccc3a5e956ad0b1b63f236c4f41a7f')
-sha1sums=('e0109c6f9f841695a31045c46a43eb70c0085750')
 sha256sums=('41a39a43b3c42dd1d1ecaea86df30caff6a061fecc1d66f60859b2a3ca976109')
 
+prepare() {
+  mkdir -p build
+}
+
 build() {
-  cd "$srcdir/$pkgname-$pkgver"
-
-  cmake . \
-    -DCMAKE_BUILD_TYPE=Release \
-    -DCMAKE_INSTALL_PREFIX=/usr \
+  cd build
+  cmake ../$pkgname-$pkgver \
     -DKDESU_PATH="/usr/lib/kf5/kdesu"
   make
 }
 
 package() {
-  cd "$srcdir/$pkgname-$pkgver"
+  cd build
   make DESTDIR="$pkgdir" install
 }



More information about the arch-commits mailing list