desktop/kcm-grub2-editor/PKGBUILD

40 lines
966 B
Bash
Raw Normal View History

#
# Apps Packages for Chakra, part of chakraos.org
#
2012-06-20 18:28:20 +08:00
# maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
pkgname=grub2-editor
_pkgname=kcm-grub2
2013-10-12 23:37:06 +08:00
pkgver=0.6.4
pkgrel=3
pkgdesc="A KDE4 control module for configuring the GRUB2 bootloader."
2013-10-12 23:37:06 +08:00
arch=('x86_64')
_kdeapps=139643
url="http://kde-apps.org/content/show.php?content=${_kdeapps}"
2013-10-12 23:37:06 +08:00
screenshot="http://ksmanis.files.wordpress.com/2013/10/kcm_grub451.png"
2012-01-28 11:17:27 +08:00
license=('GPL3')
makedepends=('cmake' 'automoc4')
depends=('grub' 'kdelibs' 'hwinfo')
2013-10-12 23:37:06 +08:00
optdepends=('imagemagick')
categories=('system')
2012-01-28 11:17:27 +08:00
source=("http://sourceforge.net/projects/kcm-grub2/files/${pkgver}/${_pkgname}-${pkgver}.tar.gz")
2013-10-12 23:37:06 +08:00
md5sums=('b3ff8fb938be8112dcc6e42b3e56efc6')
build(){
2012-01-28 11:17:27 +08:00
cd "${srcdir}/${_pkgname}-${pkgver}"
2012-01-28 11:17:27 +08:00
mkdir -p build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr \
2012-01-28 11:17:27 +08:00
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
../
make
}
package(){
2012-01-28 11:17:27 +08:00
cd "${srcdir}/${_pkgname}-${pkgver}/build"
make DESTDIR="${pkgdir}" install
}
2012-01-28 11:17:27 +08:00