updated on Thu Jan 26 12:02:26 UTC 2012
[aur-mirror.git] / awesome / PKGBUILD
blobed112c4e84cb349bf44c1ec8e6c298a8d5366880
1 # Maintainer: xduugu
2 # Contributor: Ronald van Haren <ronald.archlinux.org>
3 # Contributor: Vesa Kaihlavirta
5 pkgname=awesome
6 pkgver=3.4.11
7 pkgrel=2
8 pkgdesc="A tiling window manager initialy based on a dwm code rewriting."
9 arch=('i686' 'x86_64')
10 url="http://awesome.naquadah.org/"
11 license=('GPL2')
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
19         awesome.desktop)
20 md5sums=('d6aa71334b5cd4ef63ce69d6c612ecf2'
21          '2763cab6a20d4b0f2676329d57ed3a45')
22 sha256sums=('576b4f6d2c3f56dfbe52ad92f2eecece111f0f05816e32126cd03d4b4387761d'
23             '5c5437448cc9f01be6ccbb298f5c86d0f8c4bcae23a22e6af699aff0d10f642f')
25 build() {
26   cd "$srcdir/$pkgname-$pkgver"
28   make CMAKE_ARGS=" -DPREFIX=/usr -DSYSCONFDIR=/etc \
29         -DCMAKE_BUILD_TYPE=RELEASE"
32 package() {
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"