mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-23 09:22:12 +08:00
imported showdesktop and nowdock plasmoids
This commit is contained in:
parent
2791d23b48
commit
601377d4ec
19
plasma5-applets-nowdock/PKGBUILD
Normal file
19
plasma5-applets-nowdock/PKGBUILD
Normal file
@ -0,0 +1,19 @@
|
||||
pkgname=plasma5-applets-nowdock
|
||||
_name=plasmaqmldock
|
||||
pkgver=0.1.1
|
||||
pkgrel=1
|
||||
pkgdesc="A pure qml plasmoid that mimic the dock or mac way of task management"
|
||||
arch=('x86_64')
|
||||
url="https://github.com/psifidotos/plasmaqmldock"
|
||||
license=('GPL')
|
||||
group=('plasma5-applets')
|
||||
depends=('plasma-workspace' 'qt5-graphicaleffects')
|
||||
source=("https://github.com/psifidotos/plasmaqmldock/archive/v$pkgver.tar.gz")
|
||||
sha256sums=('e9bc5a624974444332a144fb16a2fc53392e622e405f5dd1dce5bce6dc4b1e9a')
|
||||
|
||||
package() {
|
||||
cd "${_name}-${pkgver}"
|
||||
|
||||
mkdir -p $pkgdir/usr/share/plasma/plasmoids/org.kdelook.nowdock
|
||||
cp -r * $pkgdir/usr/share/plasma/plasmoids/org.kdelook.nowdock
|
||||
}
|
34
plasma5-applets-showdesktop/PKGBUILD
Normal file
34
plasma5-applets-showdesktop/PKGBUILD
Normal file
@ -0,0 +1,34 @@
|
||||
pkgname=plasma5-applets-showdesktop
|
||||
_name=Minimize-All
|
||||
pkgver=1.1
|
||||
pkgrel=1
|
||||
pkgdesc="Applet for minimizing visible windows"
|
||||
arch=('x86_64')
|
||||
url="https://github.com/bvbfan/Minimize-All"
|
||||
license=('GPL')
|
||||
group=('plasma5-applets')
|
||||
depends=('plasma-workspace' 'qt5-graphicaleffects')
|
||||
makedepends=('extra-cmake-modules')
|
||||
source=("https://github.com/bvbfan/Minimize-All/archive/master.zip")
|
||||
sha256sums=('SKIP')
|
||||
|
||||
prepare() {
|
||||
cd "${_name}-master"
|
||||
mkdir -p build
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "${_name}-master/build"
|
||||
|
||||
cmake .. \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DLIB_INSTALL_DIR=lib \
|
||||
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${_name}-master"/build
|
||||
|
||||
make install DESTDIR="${pkgdir}"
|
||||
}
|
Loading…
Reference in New Issue
Block a user