updated on Sun Jan 22 20:01:29 UTC 2012
[aur-mirror.git] / grub2-editor / PKGBUILD
blob29274eb251dbf73abcee24c556e0295c68ad0816
1 # Maintainer: Jekyll Wu <adaptee [at] gmail [dot] com>
3 pkgname=grub2-editor
4 _pkgname=kcm-grub2
5 pkgver=0.5.5
6 pkgrel=1
7 pkgdesc="A KDE4 control module for configuring the GRUB2 bootloader."
8 arch=(i686 x86_64)
9 url="http://kde-apps.org/content/show.php?content=139643"
10 license=('GPLv3')
11 depends=('kdebase-workspace' 'hwinfo' 'imagemagick' 'libwmf' 'librsvg' )
12 makedepends=('cmake' 'automoc4')
13 source=("http://prdownloads.sourceforge.net/project/${_pkgname}/${pkgver}/${_pkgname}-${pkgver}.tar.gz")
15 build(){
16   cd ${srcdir}/${_pkgname}-${pkgver}
18   if [ -d build ] ; then
19       rm build -rf
20   fi
22   mkdir build && cd build
24   cmake -DCMAKE_INSTALL_PREFIX=/usr \
25         -DCMAKE_BUILD_TYPE=Release  \
26         ..
27   make
30 package(){
31   cd ${srcdir}/${_pkgname}-${pkgver}/build
32   make DESTDIR="${pkgdir}" install
34 md5sums=('90871941e8b8138902f2dbf76427e162')