blob: 45c533e5cc2ae8d362d130ebc74d19f7636c7c4a (
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
|
# Maintainer: LycanDarko lycandarko (at) proton.me
pkgname=rabbithole
pkgver=b0.8.3.r21
pkgrel=1
epoch=
pkgdesc="The Meta-Window Manager. An extra-dimensional, lightning-fast UI made for enhancing productivity—A second brain interface. Built from the awesome window manager framework. GitHub Master branch."
arch=('x86_64')
url='https://github.com/SaintRyoh/rabbithole'
license=('GPL3')
groups=()
depends=(awesome rofi autorandr picom ttf-ubuntu-font-family lxqt-policykit lxqt-powermanagement tmux volumeicon network-manager-applet blueman flameshot rofi-themes-collection-git beautyline linux-wifi-hotspot)
makedepends=('git')
checkdepends=()
optdepends=()
conflicts=(awesome-git)
install=rabbithole.install
source=(${pkgname}::git+$url.git#branch=AUR)
md5sums=('SKIP')
prepare() {
cd "$pkgname"
git submodule update --init
}
pkgver() {
cd "$srcdir/$pkgname"
git describe --long --abbrev=7 --tags | sed 's/\([^-]*\)-g.*/r\1/;s/-/./g'
}
package() {
# Install the rabbithole config to /usr/share/rabbithole
install -dm755 "$pkgdir/usr/share/rabbithole"
cp -r "$srcdir/$pkgname/"* "$pkgdir/usr/share/rabbithole"
# Install the rabbithole.desktop to /usr/share/xsessions
install -Dm644 "$srcdir/$pkgname/installer/rabbithole.desktop" "$pkgdir/usr/share/xsessions/rabbithole.desktop"
# Install readme to /usr/share/doc/rabbithole
install -Dm644 "$srcdir/$pkgname/README.md" "$pkgdir/usr/share/doc/rabbithole"
# Install rabbithole script to /usr/bin
install -Dm755 "$srcdir/$pkgname/installer/rabbithole" "$pkgdir/usr/bin/rabbithole"
chmod +x "$pkgdir/usr/bin/rabbithole"
}
|