summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3fdf789e7c3ffc70723099d3238742a7fb97b0d1 (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
# Maintainer: farseerfc <farseerfc@archlinuxcn.org>
# Contributor: Ecmel Ercan <ecmel.ercan@gmail.com>
# Contributor: S├ębastien Luttringer <seblu@aur.archlinux.org>
# Contributor: xduugu
# Contributor: Ronald van Haren <ronald.archlinux.org>
# Contributor: Vesa Kaihlavirta

pkgname=awesome34
pkgver=3.4.15
pkgrel=2
pkgdesc='Highly configurable framework window manager'
arch=('i686' 'x86_64')
url='http://awesome.naquadah.org/'
license=('GPL2')
depends=(
  'cairo'
  'dbus'
  'imlib2'
'libxcursor'
  'libev'
  'libxdg-basedir'
  'lua51'
  'pango'
  'startup-notification'
  'xcb-util-image'
  'xcb-util-keysyms'
  'xcb-util-wm'
  'xorg-xmessage'
)
makedepends=(
  'asciidoc'
  'cmake'
  'docbook-xsl'
  'doxygen'
  'gperf'
  'imagemagick'
  'lua51-doc'
  'xmlto'
)
optdepends=(
  'rlwrap: readline support for awesome-client'
  'feh: image background setter for awsetbg'
  'dex: autostart your desktop files'
  'vicious21: widgets for the Awesome window manager'
)
conflicts=('awesome')
provides=('notification-daemon' 'awesome=$pkgver')
source=("$url/download/awesome-$pkgver.tar.xz"
        "awesome-lua51.patch"
        "awesome.desktop")
md5sums=('4e3a14bed1e6a0d424fc79aba03d981e'
         'e7b3ff8eb585b27591736c91918a7a70'
         '0fdbeec43d211c6750041d7e37611a6a')

build() {
  cd awesome-$pkgver
patch -p1 < ../awesome-lua51.patch
#  patch -p1 < ../../xlib-avoid-xkb.patch
  make CMAKE_ARGS=' -DCMAKE_INSTALL_PREFIX=/usr -DSYSCONFDIR=/etc -DCMAKE_BUILD_TYPE=RELEASE'
}

package() {
  cd awesome-$pkgver
  make DESTDIR="$pkgdir" install
  # install desktop file so you can start awesome from your login manager
  install -Dm644 ../awesome.desktop "$pkgdir/usr/share/xsessions/awesome.desktop"
}

# vim:set ts=2 sw=2 ft=sh et: