2 # Contributor: Ronald van Haren <ronald.archlinux.org>
3 # Contributor: Vesa Kaihlavirta
8 pkgdesc="A tiling window manager initialy based on a dwm code rewriting."
10 url="http://awesome.naquadah.org/"
12 depends=('cairo-xcb' 'pango' 'imlib2' 'lua' 'libev' 'dbus' 'libxdg-basedir'
13 'startup-notification' 'xcb-util'{-image,-keysyms,-wm})
14 makedepends=('docbook-xsl' 'asciidoc' 'xmlto' 'doxygen' 'gperf' 'cmake' 'luadoc' 'imagemagick')
15 optdepends=('rlwrap: readline support for awesome-client')
16 options=('!libtool' 'docs')
17 install=awesome.install
18 source=($url/download/$pkgname-$pkgver.tar.xz
20 md5sums=('d6aa71334b5cd4ef63ce69d6c612ecf2'
21 '2763cab6a20d4b0f2676329d57ed3a45')
22 sha256sums=('576b4f6d2c3f56dfbe52ad92f2eecece111f0f05816e32126cd03d4b4387761d'
23 '5c5437448cc9f01be6ccbb298f5c86d0f8c4bcae23a22e6af699aff0d10f642f')
26 cd "$srcdir/$pkgname-$pkgver"
28 make CMAKE_ARGS=" -DPREFIX=/usr -DSYSCONFDIR=/etc \
29 -DCMAKE_BUILD_TYPE=RELEASE"
33 cd "$srcdir/$pkgname-$pkgver"
35 make DESTDIR="$pkgdir" install
37 # install desktop file so you can start awesome from your login manager
38 install -Dm644 "$srcdir/awesome.desktop" \
39 "$pkgdir/usr/share/xsessions/awesome.desktop"