Created
November 12, 2015 09:20
-
-
Save ShadOoW/76e992bc6ef0734e2875 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Oleg Shparber <trollixx+aur@gmail.com> | |
# Contributor: Bartłomiej Piotrowski <bpiotrowski@archlinux.org> | |
# Contributor: Andrea Scarpino <andrea@archlinux.org> | |
# Contributor: Sébastien Luttringer | |
# Contributor: xduugu | |
# Contributor: Ronald van Haren <ronald.archlinux.org> | |
# Contributor: Vesa Kaihlavirta | |
# URL: https://github.com/trollixx/aur-packages | |
# Upstream: | |
https://projects.archlinux.org/svntogit/community.git/tree/trunk?h=packages/awesome | |
_pkgname=awesome | |
pkgname=${_pkgname}-git | |
pkgver=3.5.2.910.gbef7dfa | |
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' 'libxdg-basedir' | |
'libxkbcommon-x11' | |
'lua' 'lua-lgi' 'pango' 'startup-notification' | |
'xcb-util-cursor' | |
'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' 'awesome') | |
conflicts=('awesome') | |
backup=('etc/xdg/awesome/rc.lua') | |
source=("$pkgname::git+https://github.com/psychon/awesome.git") | |
md5sums=('SKIP') | |
pkgver() { | |
cd $pkgname | |
git describe | sed 's/^v//;s/-/./g' | |
} | |
prepare() { | |
mkdir -p build | |
} | |
build() { | |
msg "SWITCHING BRANCHES" | |
cd $pkgname | |
git fetch | |
git checkout xkb-detectable-autorepeat | |
cd .. | |
cd build | |
cmake ../$pkgname \ | |
-DCMAKE_BUILD_TYPE=RELEASE \ | |
-DCMAKE_INSTALL_PREFIX=/usr \ | |
-DSYSCONFDIR=/etc \ | |
-DLUA_LIBRARY=/usr/lib/liblua.so.5.3 | |
make | |
} | |
package() { | |
cd build | |
make DESTDIR="$pkgdir" install | |
install -Dm644 "$srcdir"/$pkgname/awesome.desktop \ | |
"$pkgdir/usr/share/xsessions/awesome.desktop" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment