Created
March 28, 2021 20:50
-
-
Save jeffmhubbard/deea21afd0062d8a0ff1a083c4a25b17 to your computer and use it in GitHub Desktop.
awesome-git fixed for 3279
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=4.3.946.g6ef3a8f05 | |
pkgrel=1 | |
pkgdesc='Highly configurable framework window manager' | |
arch=('i686' 'x86_64') | |
url='http://awesome.naquadah.org/' | |
license=('GPL2') | |
depends=('cairo' 'dbus' 'gdk-pixbuf2' 'libxdg-basedir' 'libxkbcommon-x11' | |
'lua53' 'lua53-lgi' 'pango' 'startup-notification' 'xcb-util-cursor' | |
'xcb-util-keysyms' 'xcb-util-wm' 'xcb-util-xrm' 'libxfixes') | |
makedepends=('asciidoc' 'cmake' 'docbook-xsl' 'git' 'imagemagick' 'ldoc' | |
'xmlto') | |
optdepends=('rlwrap: readline support for awesome-client' | |
'dex: autostart your desktop files' | |
'xcb-util-errors: for pretty-printing of X11 errors' | |
'librsvg: for displaying SVG files without scaling artifacts' | |
) | |
provides=('notification-daemon' 'awesome') | |
conflicts=('awesome') | |
backup=('etc/xdg/awesome/rc.lua') | |
source=("$pkgname::git+https://github.com/awesomeWM/awesome.git") | |
md5sums=('SKIP') | |
_LUA_VER=5.3 | |
pkgver() { | |
cd $pkgname | |
git describe | sed 's/^v//;s/-/./g' | |
} | |
prepare() { | |
mkdir -p build | |
} | |
build() { | |
cd build | |
cmake ../$pkgname \ | |
-DCMAKE_BUILD_TYPE=RELEASE \ | |
-DCMAKE_INSTALL_PREFIX=/usr \ | |
-DSYSCONFDIR=/etc \ | |
-DLUA_INCLUDE_DIR=/usr/include/lua${_LUA_VER} \ | |
-DLUA_LIBRARY=/usr/lib/liblua.so.${_LUA_VER} \ | |
-DLUA_EXECUTABLE=/usr/bin/lua${_LUA_VER} | |
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