summaryrefslogtreecommitdiffstats
path: root/awesome-stable_commit
diff options
context:
space:
mode:
authorkj-sh6042024-07-22 09:50:49 -0400
committerkj-sh6042024-07-22 09:50:49 -0400
commitba269ad70320bd93070147b0c48a97fecfc8c6b1 (patch)
tree00065ae7379d1b093d4c023b95f8bb118419178f /awesome-stable_commit
parent3abaa3da2d43d05a7517837113d65bbd69e3e355 (diff)
kj-gitbot: awesome-stable_commit/
Diffstat (limited to 'awesome-stable_commit')
-rw-r--r--awesome-stable_commit/.SRCINFO39
-rw-r--r--awesome-stable_commit/.gitignore5
-rw-r--r--awesome-stable_commit/PKGBUILD60
3 files changed, 104 insertions, 0 deletions
diff --git a/awesome-stable_commit/.SRCINFO b/awesome-stable_commit/.SRCINFO
new file mode 100644
index 0000000..909633b
--- /dev/null
+++ b/awesome-stable_commit/.SRCINFO
@@ -0,0 +1,39 @@
+pkgbase = awesome
+ pkgdesc = Highly configurable framework window manager (built on a personally known "stable" commit)
+ pkgver = 4.3
+ pkgrel = 4
+ url = https://awesomewm.org
+ arch = i686
+ arch = x86_64
+ license = GPL2
+ makedepends = asciidoctor
+ makedepends = cmake
+ makedepends = docbook-xsl
+ makedepends = git
+ makedepends = imagemagick
+ makedepends = ldoc
+ makedepends = xmlto
+ depends = cairo
+ depends = dbus
+ depends = gdk-pixbuf2
+ depends = libxdg-basedir
+ depends = libxkbcommon-x11
+ depends = lua
+ depends = lua-lgi
+ depends = pango
+ depends = startup-notification
+ depends = xcb-util-cursor
+ depends = xcb-util-keysyms
+ depends = xcb-util-wm
+ depends = xcb-util-xrm
+ depends = libxfixes
+ optdepends = rlwrap: readline support for awesome-client
+ optdepends = dex: autostart your desktop files
+ optdepends = xcb-util-errors: for pretty-printing of X11 errors
+ optdepends = librsvg: for displaying SVG files without scaling artifacts
+ provides = notification-daemon
+ backup = etc/xdg/awesome/rc.lua
+ source = awesome::git+https://github.com/awesomeWM/awesome.git#commit=ad0290bc1aac3ec2391aa14784146a53ebf9d1f0
+ md5sums = SKIP
+
+pkgname = awesome
diff --git a/awesome-stable_commit/.gitignore b/awesome-stable_commit/.gitignore
new file mode 100644
index 0000000..5a2066d
--- /dev/null
+++ b/awesome-stable_commit/.gitignore
@@ -0,0 +1,5 @@
+pkg/
+src/
+*.tar.*
+*.pkg.*
+awesome/
diff --git a/awesome-stable_commit/PKGBUILD b/awesome-stable_commit/PKGBUILD
new file mode 100644
index 0000000..49f9c01
--- /dev/null
+++ b/awesome-stable_commit/PKGBUILD
@@ -0,0 +1,60 @@
+# Maintainer: kj_sh604 <406hs_jk@proton.me>
+
+pkgname=awesome
+pkgver=4.3
+pkgrel=4
+pkgdesc='Highly configurable framework window manager
+ (built on a personally known "stable" commit)'
+_commit='ad0290bc1aac3ec2391aa14784146a53ebf9d1f0'
+arch=('i686' 'x86_64')
+url='https://awesomewm.org'
+license=('GPL2')
+depends=('cairo' 'dbus' 'gdk-pixbuf2' 'libxdg-basedir' 'libxkbcommon-x11'
+ 'lua' 'lua-lgi' 'pango' 'startup-notification' 'xcb-util-cursor'
+ 'xcb-util-keysyms' 'xcb-util-wm' 'xcb-util-xrm' 'libxfixes')
+makedepends=('asciidoctor' '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')
+backup=('etc/xdg/awesome/rc.lua')
+source=("$pkgname::git+https://github.com/awesomeWM/awesome.git#commit=$_commit")
+md5sums=('SKIP')
+_LUA_VER=5.4
+
+# Use the following for a "git descriptive" pkgver=
+## pkgver() {
+## cd $pkgname
+## git describe | sed 's/^v//;s/-/./g'
+## }
+
+prepare() {
+ cd "$pkgname"
+ # Replace deprecated convert command with magick convert
+ # Warning: this may break in the future or when a new _commit is chosen
+ find . -type f -exec sed -i 's/\bconvert\b/magick convert/g' {} +
+}
+
+build() {
+ mkdir -p 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"
+}