summaryrefslogtreecommitdiffstats
path: root/awesome-git_as-release
diff options
context:
space:
mode:
authorkj-sh6042024-07-06 15:41:44 -0400
committerkj-sh6042024-07-06 15:41:44 -0400
commit9157ea4b6da30e92883fbad1e6028cccc1afb670 (patch)
treef6aa90e32c039bbd5f428b316c12919a19630f5d /awesome-git_as-release
parent16284df4f405114ce7cfb6e81c5beb5b8394f86a (diff)
feat: add `awesome` release package
refactor: update `.SRCINFO`s
Diffstat (limited to 'awesome-git_as-release')
-rw-r--r--awesome-git_as-release/.SRCINFO41
-rw-r--r--awesome-git_as-release/.gitignore5
-rw-r--r--awesome-git_as-release/PKGBUILD45
3 files changed, 91 insertions, 0 deletions
diff --git a/awesome-git_as-release/.SRCINFO b/awesome-git_as-release/.SRCINFO
new file mode 100644
index 0000000..9be7364
--- /dev/null
+++ b/awesome-git_as-release/.SRCINFO
@@ -0,0 +1,41 @@
+pkgbase = awesome
+ pkgdesc = Highly configurable framework window manager
+ pkgver = 4.3
+ pkgrel = 4
+ url = http://awesome.naquadah.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
+ provides = awesome
+ conflicts = awesome-git
+ backup = etc/xdg/awesome/rc.lua
+ source = awesome::git+https://github.com/kj-sh604/awesome.git
+ md5sums = SKIP
+
+pkgname = awesome
diff --git a/awesome-git_as-release/.gitignore b/awesome-git_as-release/.gitignore
new file mode 100644
index 0000000..5a2066d
--- /dev/null
+++ b/awesome-git_as-release/.gitignore
@@ -0,0 +1,5 @@
+pkg/
+src/
+*.tar.*
+*.pkg.*
+awesome/
diff --git a/awesome-git_as-release/PKGBUILD b/awesome-git_as-release/PKGBUILD
new file mode 100644
index 0000000..5594174
--- /dev/null
+++ b/awesome-git_as-release/PKGBUILD
@@ -0,0 +1,45 @@
+_pkgname=awesome
+pkgname=awesome
+pkgver=4.3
+pkgrel=4
+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'
+ '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' 'awesome')
+conflicts=('awesome-git')
+backup=('etc/xdg/awesome/rc.lua')
+source=("$pkgname::git+https://github.com/kj-sh604/awesome.git")
+md5sums=('SKIP')
+_LUA_VER=5.4
+
+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"
+}