mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
42 lines
1.3 KiB
Bash
42 lines
1.3 KiB
Bash
pkgname=krusader
|
|
pkgver=2.5.0
|
|
pkgrel=1
|
|
epoch=1
|
|
pkgdesc="An alternative file manager for KDE resembling Midnight Commander"
|
|
url="http://krusader.sourceforge.net/"
|
|
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=(http://download.kde.org/stable/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.xz)
|
|
sha1sums=('c6fed66fcfe1b099cc4dd19a209062c42ed67147')
|
|
|
|
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
|
|
}
|