Created
November 12, 2015 09:20
-
-
Save ShadOoW/76e992bc6ef0734e2875 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 <[email protected]> | |
# Contributor: Bartłomiej Piotrowski <[email protected]> | |
# Contributor: Andrea Scarpino <[email protected]> | |
# 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