mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 18:42:12 +08:00
43 lines
1.2 KiB
Bash
43 lines
1.2 KiB
Bash
#
|
|
# Apps Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dot]org>
|
|
# maintainer (x86_64): Nistor Andrei <coder[dot]tux[at]ceata[dot]org>
|
|
|
|
# include global config
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
pkgname=filelight
|
|
pkgver=1.9rc3
|
|
pkgrel=2
|
|
pkgdesc="A KDE program that creates a complex, but data-rich graphical representation of the files and directories on your computer"
|
|
arch=('i686' 'x86_64')
|
|
url="http://methylblue.com/filelight/"
|
|
license=('GPL2')
|
|
depends=('kdelibs' 'qimageblitz' 'hicolor-icon-theme')
|
|
makedepends=('cmake' 'automoc4')
|
|
install=${pkgname}.install
|
|
source=("http://www.kde-apps.org/CONTENT/content-files/99561-$pkgname-${pkgver}.tgz"
|
|
'kurl.patch')
|
|
md5sums=('a75cb50bc0b7238507952fb7d1b8d8a8'
|
|
'ab4e31907ccb452b515c5057653526d8')
|
|
|
|
build() {
|
|
cd "${srcdir}"
|
|
pushd "${pkgname}-${pkgver}"
|
|
patch -p1 < ../../kurl.patch
|
|
popd
|
|
mkdir build
|
|
cd build
|
|
cmake ../${pkgname}-${pkgver} \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_SKIP_RPATH=ON \
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
make || return 1
|
|
}
|
|
|
|
package() {
|
|
cd ${srcdir}/build
|
|
make DESTDIR=${pkgdir} install || return 1
|
|
}
|