blob: ae4f29c548bfc2664b31c0bd27553ce59b43cad2 (
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
|
# Maintainer: Caleb Maclennan <caleb@alerque.com>
# Contributor: Oleg Shparber <trollixx+aur@gmail.com>
# Contributor: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Sébastien Luttringer
# Contributor: xduugu
# Contributor: Ronald van Haren <ronald.archlinux.org>
# Contributor: Vesa Kaihlavirta
# Upstream: https://projects.archlinux.org/svntogit/community.git/tree/trunk?h=packages/awesome
_pkgbase=awesome
_pkgname=$_pkgbase-way-cooler
pkgname=$_pkgname-git
pkgver=4.3.r333.g3b4f3640
pkgrel=1
pkgdesc='Highly configurable framework window manager (wayland compatible fork using way-cooler)'
arch=('x86_64' 'i686')
url="https://github.com/way-cooler/$_pkgbase"
license=('GPL2')
depends=('cairo'
'dbus'
'gdk-pixbuf2'
'libxdg-basedir'
'libxkbcommon-x11'
'lua'
'lua-lgi'
'pango'
'startup-notification'
'xcb-util-cursor'
'xcb-util-keysyms'
'xcb-util-wm'
'xcb-util-xrm'
'libxfixes'
'way-cooler')
makedepends=('asciidoc'
'cmake'
'docbook-xsl'
'git'
'imagemagick'
'ldoc'
'xmlto')
optdepends=('rlwrap: readline support for awesome-client'
'dex: autostart your desktop files'
'xcb-util-errors: for pretty-printing of X11 errors'
'librsvg: for displaying SVG files without scaling artifacts')
provides=('notification-daemon' "$_pkgbase" "$_pkgname")
conflicts=("$_pkgbase")
backup=("etc/xdg/$_pkgbase/rc.lua")
source=("$pkgname::git+$url.git")
sha256sums=('SKIP')
pkgver() {
cd "$pkgname"
git describe --long --tags --abrev=7 |
sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "$pkgname"
cmake -S . -B build \
-DCMAKE_BUILD_TYPE=RELEASE \
-DCMAKE_INSTALL_PREFIX=/usr \
-DSYSCONFDIR=/etc \
-DLUA_LIBRARY=/usr/lib/liblua.so.5.3
make -C build
}
package() {
cd "$pkgname"
make -C build DESTDIR="$pkgdir" install
install -Dm644 -t "$srcdir/$pkgname/" "$pkgdir/usr/share/xsessions/awesome.desktop"
}
|