updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / awesome-rc / PKGBUILD
blobe80b2676348a864276acda4bd6b0156e064e6f2f
1 # Contributor: <ahmad200512@yandex.ru>
2 # Based on original Awesome PKGBUILD
4 pkgname=awesome-rc
5 realname=awesome
6 pkgver=3.4
7 pkgrel=2
8 subver=rc3
9 pkgdesc="A tiling window manager initialy based on a dwm code rewriting. Release candidate version"
10 arch=('i686' 'x86_64')
11 url="http://awesome.naquadah.org"
12 source=("$url/download/$realname-$pkgver-$subver.tar.gz"
13         'awesome.desktop')
14 install=awesome.install
15 license=('GPL2')
16 depends=('pango' 'imlib2' 'lua' 'libev>=3.80' 'dbus' 'libxdg-basedir' 'startup-notification')
17 makedepends=('docbook-xsl' 'asciidoc' 'xmlto' 'doxygen' 'gperf' 'cmake' 'luadoc' 'imagemagick')
18 options=('!libtool' 'docs')
19 replaces=('awesome')
20 md5sums=('cbf41eba15ba61de8a854291d7adbcaa'
21          'be32bd22c6279603b7f81a3184109c80')
23 build() {
24   cd "${srcdir}/${realname}-${pkgver}-${subver}"
26   make CMAKE_ARGS=" -DPREFIX=/usr -DSYSCONFDIR=/etc \
27         -DCMAKE_BUILD_TYPE=RELEASE" || return 1
28   make DESTDIR=${pkgdir} install || return 1
30  # install desktop file so you can start awesome from your login manager
31  install -Dm644 "${srcdir}/awesome.desktop" \
32         "${pkgdir}/usr/share/xsessions/awesome.desktop"