blob: 197224cfcd993e656926752a05e9108f0911039e (
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
|
# Maintainer: Daniel Hahler <archlinux+aur@thequod.de>
# Contributor: noonov <noonov@gmail.com>
# Contributor: wtchappell <wtchappell@gmail.com>
_pkgname=awesome
pkgname=awesome-luajit-git
pkgver=4.3.1355.gbd776c980
pkgrel=1
pkgdesc="awesome window manager built with luajit"
url='https://awesomewm.org/'
arch=('i686' 'x86_64')
license=('GPL2')
depends=(
'cairo'
'dbus'
'gdk-pixbuf2'
'libxdg-basedir'
'libxfixes'
'libxkbcommon-x11'
'luajit'
'luajit-lgi'
'pango'
'startup-notification'
'xcb-util-cursor'
'xcb-util-keysyms'
'xcb-util-wm'
'xcb-util-xrm'
)
makedepends=(
'asciidoctor'
'cmake'
'docbook-xsl'
'git'
'gzip'
'imagemagick'
'ldoc'
'lua-penlight'
'xmlto'
)
optdepends=(
'dex: autostart your desktop files'
'librsvg: for displaying SVG files without scaling artifacts'
'rlwrap: readline support for awesome-client'
'vicious: widgets for the Awesome window manager'
'xcb-util-errors: for pretty-printing of X11 errors'
)
provides=('notification-daemon' 'awesome')
conflicts=('awesome')
backup=('etc/xdg/awesome/rc.lua')
source=("$pkgname::git+https://github.com/awesomeWM/awesome.git"
awesome.desktop
awesomeksm.desktop)
sha256sums=('SKIP'
'5c5437448cc9f01be6ccbb298f5c86d0f8c4bcae23a22e6af699aff0d10f642f'
'8f25957ef5453f825e05a63a74e24843aad945af86ddffcc0a84084ca2cf9928')
_LUAJIT_VERSION=2.1
pkgver() {
cd $pkgname
git describe | sed 's/^v//;s/-/./g'
}
build() {
mkdir -p build
cd build
cmake ../$pkgname \
-DCMAKE_BUILD_TYPE=RELEASE \
-DCMAKE_INSTALL_PREFIX=/usr \
-DSYSCONFDIR=/etc \
-DLUA_INCLUDE_DIR=/usr/include/luajit-$_LUAJIT_VERSION \
-DLUA_LIBRARY=/usr/lib/libluajit-5.1.so \
-DLUA_EXECUTABLE=/usr/bin/luajit
make
}
package() {
cd build
make DESTDIR="$pkgdir" install
install -Dm644 "$srcdir"/$pkgname/awesome.desktop \
"$pkgdir/usr/share/xsessions/awesome.desktop"
install -Dm644 "$srcdir"/awesomeksm.desktop \
"$pkgdir/usr/share/apps/ksmserver/windowmanagers/awesome.desktop"
}
|