# Contributor: Ɓukasz Jendrysik # Contributor: William Pitcock # Maintainer: Natanael Copa pkgname=awesome pkgver=3.5.7 pkgrel=0 pkgdesc="lua-configurable window manager framework" url="http://awesome.naquadah.org/" arch="x86 x86_64" license="GPL2+" depends="imagemagick lua-lgi cairo-gobject pango" makedepends="lua lua-dev libxcb-dev pango-dev cairo-dev cmake gperf glib-dev imlib2-dev libxdg-basedir-dev libev-dev startup-notification-dev xcb-util-keysyms-dev xcb-util-image-dev xcb-util-dev xcb-util-wm-dev dbus-dev lua-doc gdk-pixbuf-dev xcb-util-cursor-dev" install="" subpackages="$pkgname-doc" source="http://awesome.naquadah.org/download/${pkgname}-${pkgver}.tar.xz " _srcdir="${srcdir}/${pkgname}-${pkgver}" _builddir="${srcdir}/build" prepare() { local i cd "$_srcdir" for i in $source; do case $i in *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; esac done } build() { mkdir "$_builddir" cd "$_builddir" cmake -DCMAKE_INSTALL_PREFIX=/usr \ -DSYSCONFDIR=/etc \ -DCMAKE_BUILD_TYPE=Release \ "$_srcdir" make || return 1 } package() { cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 } md5sums="afab0b57fe0563ae3107d6b84d26f1aa awesome-3.5.7.tar.xz" sha256sums="ba7f92b0ab8b729c569b19b098b0a08339d8654e3c040d07ad02cf99641ceecf awesome-3.5.7.tar.xz" sha512sums="0b57efa6ba55e28fee56bec96dbf3c47249b2d70b21e1a7760d4367a0ba42d9936c1c6b78afa4aa3050a60cf34189551ea53b208ec8ec9f6563a905463550515 awesome-3.5.7.tar.xz"