desktop/kcm-grub2-editor/PKGBUILD
2012-01-28 03:17:27 +00:00

39 lines
963 B
Bash

#
# Apps Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
pkgname=grub2-editor
_pkgname=kcm-grub2
pkgver=0.5.5
pkgdesc="A KDE4 control module for configuring the GRUB2 bootloader."
pkgrel=1
arch=('i686' 'x86_64')
_kdeapps=139643
url="http://kde-apps.org/content/show.php?content=${_kdeapps}"
license=('GPL3')
makedepends=('cmake' 'automoc4')
depends=('kdelibs' 'hwinfo')
source=("http://sourceforge.net/projects/kcm-grub2/files/${pkgver}/${_pkgname}-${pkgver}.tar.gz")
md5sums=('90871941e8b8138902f2dbf76427e162')
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
}
# vim:set ts=2 sw=2 et: