mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 18:42:12 +08:00
38 lines
993 B
Bash
38 lines
993 B
Bash
#
|
|
# Apps Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
# include global config
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
pkgname=krusader
|
|
pkgver=2.4.0beta1
|
|
_pkgver=2.4.0-beta1
|
|
pkgrel=1
|
|
pkgdesc="An alternative file manager for KDE resembling Midnight Commander"
|
|
url="http://krusader.sourceforge.net/"
|
|
arch=('i686' 'x86_64')
|
|
license=('GPL')
|
|
depends=('kdebase' 'kdelibs')
|
|
makedepends=('cmake' 'automoc4' 'docbook-xsl')
|
|
install=${pkgname}.install
|
|
source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${_pkgver}.tar.bz2")
|
|
md5sums=('d2340718d05d69e7f2a7f0846471ee12')
|
|
|
|
build() {
|
|
cd ${srcdir}
|
|
mkdir build
|
|
cd build
|
|
cmake ../${pkgname}-${_pkgver} \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
make || return 1
|
|
}
|
|
|
|
package() {
|
|
cd ${srcdir}/build
|
|
make DESTDIR=${pkgdir} install || return 1
|
|
}
|