# $Id: PKGBUILD 98638 2013-10-16 01:00:11Z seblu $ # Maintainer: Sébastien Luttringer # Contributor: xduugu # Contributor: Ronald van Haren # Contributor: Vesa Kaihlavirta pkgname=awesome pkgver=3.5.2 pkgrel=1 pkgdesc='Highly configurable framework window manager' arch=('i686' 'x86_64' 'mips64el') url='http://awesome.naquadah.org/' license=('GPL2') depends=( 'cairo' 'dbus' 'gdk-pixbuf2' 'imlib2' 'libxdg-basedir' 'lua' 'lua-lgi' 'pango' 'startup-notification' 'xcb-util-cursor' 'xcb-util-keysyms' 'xcb-util-wm' 'xorg-xmessage' ) makedepends=( 'asciidoc' 'cmake' 'docbook-xsl' 'doxygen' 'imagemagick' 'ldoc' 'xmlto' ) optdepends=( 'rlwrap: readline support for awesome-client' 'dex: autostart your desktop files' 'vicious: widgets for the Awesome window manager' ) provides=('notification-daemon') backup=('etc/xdg/awesome/rc.lua') source=("$url/download/$pkgname-$pkgver.tar.xz") md5sums=('c16eaaaddf6f56b4e041007952e2a4fe') build() { cd $pkgname-$pkgver cmake \ -DCMAKE_BUILD_TYPE=RELEASE \ -DCMAKE_INSTALL_PREFIX=/usr \ -DSYSCONFDIR=/etc \ -DLUA_LIBRARY=/usr/lib/liblua.so.5.2 make } package() { cd $pkgname-$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 et: