desktop/krusader/PKGBUILD

42 lines
1.3 KiB
Bash
Raw Normal View History

2010-07-19 19:02:16 +08:00
pkgname=krusader
2017-04-13 07:39:56 +08:00
pkgver=2.6.0
pkgrel=1
epoch=1
2010-07-19 19:02:16 +08:00
pkgdesc="An alternative file manager for KDE resembling Midnight Commander"
url="http://krusader.sourceforge.net/"
2015-03-08 01:04:37 +08:00
arch=('x86_64')
2010-07-19 19:02:16 +08:00
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')
2010-07-19 19:02:16 +08:00
install=${pkgname}.install
source=(http://download.kde.org/stable/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.xz)
2017-04-13 07:39:56 +08:00
sha256sums=('7061a43cada6bd7df991ed2e3e5193b1d99144fa426c8331a2b54170b79b3a39')
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
}
2010-07-19 19:02:16 +08:00
build() {
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_INSTALL_PREFIX=/usr \
2010-07-19 19:02:16 +08:00
-DCMAKE_BUILD_TYPE=Release \
-DKDE_INSTALL_LIBDIR=lib \
-DBUILD_TESTING=OFF
make
2010-07-19 19:02:16 +08:00
}
package() {
make -C build DESTDIR="${pkgdir}" install
2010-07-19 19:02:16 +08:00
}