# # Apps Packages for Chakra, part of chakra-project.org # # maintainer: Neophytos Kolokotronis pkgname=grub2-editor _pkgname=kcm-grub2 pkgver=0.6.4 pkgrel=1 pkgdesc="A KDE4 control module for configuring the GRUB2 bootloader." arch=('x86_64') _kdeapps=139643 url="http://kde-apps.org/content/show.php?content=${_kdeapps}" screenshot="http://ksmanis.files.wordpress.com/2013/10/kcm_grub451.png" license=('GPL3') makedepends=('cmake' 'automoc4') depends=('grub2-common' 'kdelibs' 'hwinfo') optdepends=('imagemagick') categories=('system') source=("http://sourceforge.net/projects/kcm-grub2/files/${pkgver}/${_pkgname}-${pkgver}.tar.gz") md5sums=('b3ff8fb938be8112dcc6e42b3e56efc6') build(){ cd "${srcdir}/${_pkgname}-${pkgver}" mkdir -p build cd build cmake -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ ../ make } package(){ cd "${srcdir}/${_pkgname}-${pkgver}/build" make DESTDIR="${pkgdir}" install }