PKGBUILDs/community/awesome/PKGBUILD
2009-10-09 21:15:33 -05:00

31 lines
1.1 KiB
Bash

# $Id: PKGBUILD 2161 2009-09-09 22:09:18Z rvanharen $
# Maintainer: Ronald van Haren <ronald.archlinux.org>
# Contributor: Vesa Kaihlavirta
pkgname=awesome
pkgver=3.3.4
pkgrel=1
pkgdesc="A tiling window manager initialy based on a dwm code rewriting."
arch=('i686' 'x86_64')
url="http://awesome.naquadah.org/"
source=($url/download/$pkgname-$pkgver.tar.gz
'awesome.desktop')
install=awesome.install
license=('GPL2')
depends=('pango' 'imlib2' 'lua' 'libev>=3.80' 'dbus' 'libxdg-basedir' 'startup-notification')
makedepends=('docbook-xsl' 'asciidoc' 'xmlto' 'doxygen' 'gperf' 'cmake' 'luadoc' 'imagemagick')
options=('!libtool' 'docs')
md5sums=('b38075c1a2fc6668ed733508f1a4e56e'
'be32bd22c6279603b7f81a3184109c80')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
make CMAKE_ARGS=" -DPREFIX=/usr -DSYSCONFDIR=/etc \
-DCMAKE_BUILD_TYPE=RELEASE" || return 1
make DESTDIR=${pkgdir} install || return 1
# install desktop file so you can start awesome from your login manager
install -Dm644 ${srcdir}/awesome.desktop \
${pkgdir}/usr/share/xsessions/awesome.desktop
}