desktop/krusader/PKGBUILD
2018-05-14 00:26:35 +01:00

42 lines
1.3 KiB
Bash

pkgname=krusader
pkgver=2.7.0
pkgrel=1
epoch=1
pkgdesc="An alternative file manager for KDE resembling Midnight Commander"
url="https://krusader.org/"
arch=('x86_64')
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=('extra-cmake-modules' 'python3' 'acl')
optdepends=('acl: Access control list utilities')
categories=('system')
screenshot=('http://www.krusader.org/static/img/slideshow/krusader-twinpanel-thumb.png')
install=${pkgname}.install
source=(https://download.kde.org/stable/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.xz)
sha256sums=('8b41522b3b1297d5f293f4fe9becaf255bc06b16d5b19b220653da5e951e9a27')
prepare() {
mkdir -p build
sed -i s!"Categories=FileManager;Utility;Qt;KDE;"!"Categories=FileManager;System;Qt;KDE;"! \
$srcdir/${pkgname}-${pkgver}/${pkgname}/org.kde.krusader.desktop
}
build() {
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DKDE_INSTALL_LIBDIR=lib \
-DBUILD_TESTING=OFF
make
}
package() {
make -C build DESTDIR="${pkgdir}" install
}