Commit e0e5c6dd authored by Tinu Weber's avatar Tinu Weber
Browse files

Add gurke-specific setup

For gurke, we want to use slock rather than xtrlock.
parent 6e367f3d
# Maintainer: Tinu Weber <http://ayekat.ch>
pkgbase=karuiwm-git
pkgname=(karuiwm-chirschi-git karuiwm-kiwi-git)
pkgver=r553.993c4ca
pkgrel=3
pkgname=(karuiwm-chirschi-git karuiwm-gurke-git karuiwm-kiwi-git)
pkgver=r570.80eb8ca
pkgrel=1
arch=(x86_64)
url='https://gitlab.com/ayekat/karuiwm'
......@@ -19,14 +19,16 @@ source=(
'config.h'
'demote'
'prtscr'
'scrlock'
'scrlock_slock'
'scrlock_xtrlock'
)
sha256sums=(
SKIP
547d126373734cc686f01bc9d8aefa93a4458fa7dc57f5e4dd8e492590ecc3af
5e873c569cc594998e1c2a976fff38cbc388b24365408b2e1fb71a2d733c99de
fc9fb6ca3885a342d7b6505dd5af6af0f2d4b5825b0e8e01a89a62add4c6f37b
87f34eca936277f6df8944bae17f9c4c72615c6a32f4b4c93023111a36746511
9a45ad24ccb99c2bb211f4c1608ae21b08676d9679822ded4bd9469309a99ef5
62605ed58647a04c1b8bae45dc6f0b34b09612f9edeb2248406f8a6cc5628493
)
options=(!strip)
......@@ -43,7 +45,7 @@ prepare() {
build() {
cd karuiwm
for h in chirschi kiwi; do
for h in chirschi gurke kiwi; do
meson setup build_$h -Dprefix=/usr -Db_sanitize=address -Dc_args=-D_$h
(cd build_$h && ninja)
done
......@@ -52,7 +54,7 @@ build() {
_common_package() {
pkgdesc="Dynamically tiling window manager for X11 (config for $1.zuepfe.net)"
depends=(coreutils dmenu glibc libnotify libx11 libxinerama mpc pass
rxvt-unicode sakura scrot sed sh xclip xdotool xtrlock)
rxvt-unicode sakura scrot sed sh xclip xdotool)
optdepends=('wmname: Fix Java client behaviour for non-reparenting WM')
provides+=(karuiwm-$1)
conflicts+=(karuiwm-$1)
......@@ -60,10 +62,19 @@ _common_package() {
cd karuiwm
install -Dm 0755 build_$1/karuiwm "$pkgdir"/usr/bin/karuiwm
for s in demote prtscr scrlock; do
for s in demote prtscr; do
install -Dm 0755 "$srcdir"/"$s" "$pkgdir"/usr/share/karuiwm/"$s"
done
if [[ $1 = gurke ]]; then
# We care about privacy here:
depends+=(slock)
install "$srcdir"/scrlock_slock "$pkgdir"/usr/share/karuiwm/scrlock
else
depends+=(xtrlock)
install "$srcdir"/scrlock_xtrlock "$pkgdir"/usr/share/karuiwm/scrlock
fi
install -Dm 0644 LICENCE "$pkgdir"/usr/share/licenses/"$pkgname"/LICENCE
install -Dm 0644 README.md "$pkgdir"/usr/share/doc/karuiwm/README.md
install -Dm 0644 config.h "$pkgdir"/usr/share/doc/karuiwm/config.h
......@@ -73,6 +84,10 @@ package_karuiwm-chirschi-git() {
_common_package chirschi
}
package_karuiwm-gurke-git() {
_common_package gurke
}
package_karuiwm-kiwi-git() {
_common_package kiwi
}
#!/bin/sh -
# Wrapper around screen locker applications (e.g. for disabling dunst before
# fullscreen screen locks start).
#pkill -SIGUSR1 dunst
xtrlock
#pkill -SIGUSR2 dunst
#!/bin/sh -
pkill -SIGUSR1 dunst
slock
pkill -SIGUSR2 dunst
#!/bin/sh -
exec xtrlock
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment