summaryrefslogtreecommitdiff
path: root/community/awesome
diff options
context:
space:
mode:
Diffstat (limited to 'community/awesome')
-rw-r--r--community/awesome/PKGBUILD67
-rw-r--r--community/awesome/awesome.desktop7
2 files changed, 74 insertions, 0 deletions
diff --git a/community/awesome/PKGBUILD b/community/awesome/PKGBUILD
new file mode 100644
index 000000000..5b04224ce
--- /dev/null
+++ b/community/awesome/PKGBUILD
@@ -0,0 +1,67 @@
+# $Id: PKGBUILD 87494 2013-04-01 17:59:30Z seblu $
+# Maintainer: Sébastien Luttringer
+# Contributor: xduugu
+# Contributor: Ronald van Haren <ronald.archlinux.org>
+# Contributor: Vesa Kaihlavirta
+
+pkgname=awesome
+pkgver=3.5.1
+pkgrel=1
+pkgdesc='Highly configurable framework window manager'
+arch=('i686' 'x86_64')
+url='http://awesome.naquadah.org/'
+license=('GPL2')
+depends=(
+ 'cairo'
+ 'dbus'
+ 'gdk-pixbuf2'
+ 'imlib2'
+ 'libxcursor'
+ 'libxdg-basedir'
+ 'lua'
+ 'lua-lgi'
+ 'pango'
+ 'startup-notification'
+ 'xcb-util-image'
+ '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')
+source=("$url/download/$pkgname-$pkgver.tar.xz"
+ "$pkgname.desktop")
+md5sums=('f528f66ddcdb07f24e6f494837371702'
+ '0fdbeec43d211c6750041d7e37611a6a')
+
+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:
diff --git a/community/awesome/awesome.desktop b/community/awesome/awesome.desktop
new file mode 100644
index 000000000..453399c6e
--- /dev/null
+++ b/community/awesome/awesome.desktop
@@ -0,0 +1,7 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=Awesome
+Comment=Highly configurable framework window manager
+Type=XSession
+Exec=awesome
+TryExec=awesome