LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File PKGBUILD of Package kcm-grub2 (Project home:ksmanis)

# Maintainer: Jekyll Wu <adaptee [at] gmail [dot] com>
# OBS Maintainer: Konstantinos Smanis <konstantinos.smanis [at] gmail [dot] com>

pkgname=grub2-editor
_pkgname=kcm-grub2
pkgver=0.6.4
pkgrel=7
pkgdesc="A KDE4 control module for configuring the GRUB2 bootloader."
arch=(i686 x86_64)
url="http://kde-apps.org/content/show.php?content=139643"
license=('GPLv3')
depends=('kdebase-runtime' 'grub' 'imagemagick' 'libwmf' 'librsvg')
makedepends=('cmake' 'automoc4' 'gettext')
source=("${_pkgname}_${pkgver}.orig.tar.gz")

build(){
  cd ${srcdir}/${_pkgname}-${pkgver}

  if [ -d build ] ; then
      rm build -rf
  fi

  mkdir build && cd build

  cmake -DCMAKE_INSTALL_PREFIX=/usr \
        -DCMAKE_BUILD_TYPE=Release  \
        -DQT_QMAKE_EXECUTABLE=qmake-qt4 \
        -DGRUB_MEMTEST=/etc/grub.d/60_memtest86+ \
        ..
  make
}

package(){
  cd ${srcdir}/${_pkgname}-${pkgver}/build
  make DESTDIR="${pkgdir}" install
}
md5sums=('b3ff8fb938be8112dcc6e42b3e56efc6')