mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
35 lines
983 B
Bash
35 lines
983 B
Bash
pkgname=plasma5-applets-simplemenu
|
|
pkgver=0.6
|
|
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' 'kdelibs4support')
|
|
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 \
|
|
-DLIB_INSTALL_DIR=lib \
|
|
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$srcdir/${pkgname}/build"
|
|
make DESTDIR="${pkgdir}/" install
|
|
}
|