mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
35 lines
939 B
Bash
35 lines
939 B
Bash
pkgname=plasma5-applets-simplemenu
|
|
pkgver=1.0.1
|
|
pkgrel=1
|
|
pkgdesc="Simple menu launcher, similar to the one on Chrome OS"
|
|
arch=('x86_64')
|
|
url="https://quickgit.kde.org/?p=scratch%2Fhein%2Fsimplemenu.git"
|
|
license=('GPL')
|
|
group=('plasma5-applets')
|
|
depends=('qt5-base' 'qt5-x11extras' 'plasma-workspace' 'ki18n' 'knotifications' 'krunner'
|
|
'kdeclarative' 'solid' 'kwindowsystem' 'kdbusaddons' 'kdoctools' 'kpeople' 'kio')
|
|
makedepends=('cmake' 'git' 'extra-cmake-modules')
|
|
source=(${pkgname}::git://anongit.kde.org/scratch/hein/simplemenu.git)
|
|
sha1sums=('SKIP')
|
|
|
|
prepare() {
|
|
cd "$srcdir/${pkgname}"
|
|
rm -rf build
|
|
mkdir -p build
|
|
}
|
|
|
|
build() {
|
|
cd "$srcdir/${pkgname}/build"
|
|
|
|
cmake .. \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DKDE_INSTALL_LIBDIR=lib
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$srcdir/${pkgname}/build"
|
|
make DESTDIR="${pkgdir}/" install
|
|
}
|