blob: 32fffa3aa0b4e2d41012cad3e3dde9c11c4dc541 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
# Maintainer: Jack Garner <jgarner + @ + mymail + . + mines + . + edu>
pkgname='xest-window-manager-git'
pkgver=r152.1ffb126
pkgver() {
cd "Xest-Window-Manager"
( set -o pipefail
git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
)
}
pkgrel=1
makedepends=('git' 'stack' 'gcc' 'zlib')
depends=('sdl2_ttf' 'libxss' 'libxinerama' 'libxrandr' 'ttf-dejavu')
optdepends=('picom: A compositor'
'polybar: System bar'
'rofi: Program launcher'
'dunst: Notifications')
backup=('etc/xest/config.dhall' 'etc/xest/config.99.dhall' 'etc/xest/startup.sh')
source=('git+https://github.com/jhgarner/Xest-Window-Manager')
md5sums=('SKIP')
pkgdesc='The zesty window manager'
url='https://github.com/jhgarner/Xest-Window-Manager'
arch=('x86_64')
license=('BSD3')
package() {
cd "Xest-Window-Manager"
stack --no-nix build
stack --no-nix install --local-bin-path "$pkgdir"/usr/bin/
desktop=$(cat <<END
[Desktop Entry]
Name=Xest
Comment=The zesty window manager
Exec=/usr/bin/xest-exe
TryExec=/usr/bin/env
Type=Application
DesktopName=Xest
END
)
mkdir -p "$pkgdir"/usr/share/xsessions/
echo "$desktop" > "$pkgdir"/usr/share/xsessions/xest.desktop
mkdir -p "$pkgdir"/etc/xest/
cp config/* "$pkgdir"/etc/xest/
}
|