desktop/kcm-grub2-editor/PKGBUILD
2015-03-08 23:54:12 +00:00

40 lines
966 B
Bash

#
# Apps Packages for Chakra, part of chakraos.org
#
# maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
pkgname=grub2-editor
_pkgname=kcm-grub2
pkgver=0.6.4
pkgrel=3
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=('grub' '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
}