2011-04-30 05:06:16 +08:00
|
|
|
pkgname=grub2-editor
|
|
|
|
_pkgname=kcm-grub2
|
2018-10-24 17:43:45 +08:00
|
|
|
pkgver=0.8.1
|
|
|
|
pkgrel=1
|
2016-02-02 20:13:12 +08:00
|
|
|
pkgdesc="A control module for configuring the GRUB2 bootloader from System Settings."
|
2013-10-12 23:37:06 +08:00
|
|
|
arch=('x86_64')
|
2016-02-02 20:13:12 +08:00
|
|
|
url="https://github.com/maz-1/grub2-editor/"
|
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')
|
2016-02-01 00:50:49 +08:00
|
|
|
depends=('kcoreaddons' 'ki18n' 'kauth' 'kconfigwidgets' 'kio' 'solid'
|
|
|
|
'imagemagick' 'hwinfo' 'librsvg' 'grub' 'os-prober')
|
2016-06-07 16:16:38 +08:00
|
|
|
makedepends=('extra-cmake-modules' 'kdoctools' 'cmake')
|
2016-02-01 00:50:49 +08:00
|
|
|
groups=('system')
|
2018-02-16 17:23:41 +08:00
|
|
|
source=("https://github.com/maz-1/grub2-editor/archive/$pkgver.tar.gz")
|
2018-10-24 17:43:45 +08:00
|
|
|
md5sums=('a25c23268959c973355cf8bcc7d41c1f')
|
2011-04-30 05:06:16 +08:00
|
|
|
|
2016-02-01 00:50:49 +08:00
|
|
|
build() {
|
2012-01-28 11:17:27 +08:00
|
|
|
mkdir -p build
|
2011-04-30 05:06:16 +08:00
|
|
|
cd build
|
2016-02-01 00:50:49 +08:00
|
|
|
|
2018-02-16 17:23:41 +08:00
|
|
|
cmake ../$pkgname-$pkgver \
|
2016-02-01 00:50:49 +08:00
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DSYSCONF_INSTALL_DIR=/etc \
|
|
|
|
-DBUILD_TESTING=OFF \
|
|
|
|
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
|
|
|
|
-DLIB_INSTALL_DIR=lib
|
2011-04-30 05:06:16 +08:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
2016-02-01 00:50:49 +08:00
|
|
|
package() {
|
|
|
|
cd build
|
|
|
|
|
2018-02-16 17:23:41 +08:00
|
|
|
make DESTDIR=$pkgdir install
|
2016-06-07 16:16:38 +08:00
|
|
|
}
|