PKGBUILD 1.43 KB
Newer Older
1
# Contributions from Arch: https://www.archlinux.org/packages/extra/x86_64/kdeutils-filelight/
totte's avatar
totte committed
2
# Include global configuration
philm's avatar
philm committed
3

4
pkgname=filelight
5
arch=('x86_64')
totte's avatar
totte committed
6
pkgver=19.08.2
7
pkgrel=3
philm's avatar
philm committed
8
url="http://www.kde.org"
9
license=('GPL' 'LGPL' 'FDL')
10
options=('docs' 'debug')
11
pkgdesc="Creates a complex, but data-rich graphical representation of the files and directories on your computer"
12 13 14 15 16
depends=('kparts')
makedepends=('extra-cmake-modules' 'kdoctools' 'python3')
conflicts=('kdeutils-filelight')
replaces=('kdeutils-filelight')
groups=('kde' 'kde-uninstall' 'kde-applications' 'kdeutils')
Giuseppe's avatar
Giuseppe committed
17
categories=('utils')
18
source=("https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig})
totte's avatar
totte committed
19
sha256sums=('313ff23fceb427509b37efa012535e651618d42bde35c62cdc7732e463c346a6'
Luca Giambonini's avatar
Luca Giambonini committed
20
            'SKIP')
21 22
validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7  # Albert Astals Cid <aacid@kde.org>
              F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck <cfeck@kde.org>
23 24 25 26

prepare() {
  mkdir -p build
}
philm's avatar
philm committed
27 28

build() {
29
  cd build
30 31 32 33 34 35 36 37 38
  cmake ../${pkgname}-${pkgver} \
         -DCMAKE_BUILD_TYPE=RelWithDebInfo \
        -DCMAKE_INSTALL_PREFIX=/usr \
        -DKDE_INSTALL_LIBDIR=lib \
        -DKDE_INSTALL_SYSCONFDIR=/etc \
        -DKDE_INSTALL_LIBEXECDIR=lib \
        -DUDEV_RULES_INSTALL_DIR=/usr/lib/udev/rules.d \
        -DBUILD_TESTING=OFF \
        -DKDE_INSTALL_USE_QT_SYS_PATHS=ON "$@"
39 40
  make
}
41

philm's avatar
philm committed
42
package() {
43 44
  cd build
  make DESTDIR=${pkgdir} install
philm's avatar
philm committed
45
}