1 # Maintainer: laloch <laloch@atlas.cz>
6 pkgdesc='KDE4 front end for Linux LVM and Gnu parted'
7 url='http://kvpm.sourceforge.net'
10 depends=('kdebase-runtime' 'lvm2')
11 makedepends=('cmake' 'automoc4' 'subversion')
16 install=${pkgname}.install
18 _svntrunk='https://kvpm.svn.sourceforge.net/svnroot/kvpm/trunk'
24 if [ -d ${_svnmod} ]; then
27 svn co ${_svntrunk} -r ${pkgver} ${_svnmod}
29 msg2 'SVN checkout done or server timeout'
31 rm -rf ${srcdir}/${_svnmod}-build
32 mkdir ${srcdir}/${_svnmod}-build
33 cd ${srcdir}/${_svnmod}-build
35 msg2 'Starting make...'
36 cmake ${srcdir}/${_svnmod} \
37 -DKDE4_ENABLE_HTMLHANDBOOK=OFF \
38 -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` \
39 -DCMAKE_BUILD_TYPE=Release
42 GenericName=LVM Frontend
44 Comment=KDE Volume Partition Manager
47 X-KDE-SubstituteUID=true
49 Categories=System;KDE;" > ${srcdir}/${_svnmod}-build/${_pkgname}.desktop
53 cd ${srcdir}/${_svnmod}-build
54 make DESTDIR=${pkgdir} install
55 install -Dm 644 ${_pkgname}.desktop ${pkgdir}/usr/share/applications/${_pkgname}.desktop