1 # Maintainer: Gustavo Alvarez <sl1pkn07@gmail.com>
4 pkgver=4.1.0.r1067.0ffec31
6 pkgdesc="Library for managing partitions. Common code for KDE Partition Manager and other projects. (GIT version)"
8 url='http://kde.org/applications/system/kdepartitionmanager'
19 makedepends=('extra-cmake-modules'
23 optdepends=('e2fsprogs: ext2/3/4 support'
24 'xfsprogs: XFS support'
25 'jfsutils: JFS support'
26 'reiserfsprogs: Reiser support'
27 'ntfs-3g: NTFS support'
28 'dosfstools: FAT32 support'
29 'f2fs-tools: F2FS support'
30 'exfat-utils: exFAT support'
31 'nilfs-utils: nilfs support'
32 'udftools: UDF support'
34 source=('git+https://invent.kde.org/system/kpmcore.git')
39 _ver="$(cat CMakeLists.txt | grep -m3 -e MAJOR -e MINOR -e RELEASE | grep -o "[[:digit:]]*" | paste -sd'.')"
40 echo "${_ver}.r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
48 -DCMAKE_BUILD_TYPE=None \
49 -DCMAKE_INSTALL_PREFIX=/usr \
50 -DKDE_INSTALL_LIBDIR=lib \
60 make -C build DESTDIR="${pkgdir}" install