diff options
| author | kj-sh604 | 2024-08-05 14:40:27 -0400 |
|---|---|---|
| committer | kj-sh604 | 2024-08-05 14:40:27 -0400 |
| commit | bfbfa56c42c6597ed1f9ff9c46863b38b204179b (patch) | |
| tree | 70b65005e773c52740065a289cbf250715e798a0 /awesome-kj_sh604 | |
| parent | 3b834d9822ccbc98301becf6a044e4bae89385c3 (diff) | |
refactor: rename package
Diffstat (limited to 'awesome-kj_sh604')
| -rw-r--r-- | awesome-kj_sh604/.SRCINFO | 41 | ||||
| -rw-r--r-- | awesome-kj_sh604/.gitignore | 5 | ||||
| -rw-r--r-- | awesome-kj_sh604/PKGBUILD | 62 |
3 files changed, 108 insertions, 0 deletions
diff --git a/awesome-kj_sh604/.SRCINFO b/awesome-kj_sh604/.SRCINFO new file mode 100644 index 0000000..9bdb817 --- /dev/null +++ b/awesome-kj_sh604/.SRCINFO @@ -0,0 +1,41 @@ +pkgbase = awesome-kj_sh604 + pkgdesc = this is just a renamed awesomeWM build, customized to suit my personal preferences on my system. (tagged release) + pkgver = 24.06 + pkgrel = 6 + 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 + provides = awesome + conflicts = awesome + backup = etc/xdg/awesome/rc.lua + source = awesome::git+https://github.com/kj-sh604/awesome.git#commit=ad0290bc1aac3ec2391aa14784146a53ebf9d1f0 + md5sums = SKIP + +pkgname = awesome-kj_sh604 diff --git a/awesome-kj_sh604/.gitignore b/awesome-kj_sh604/.gitignore new file mode 100644 index 0000000..5a2066d --- /dev/null +++ b/awesome-kj_sh604/.gitignore @@ -0,0 +1,5 @@ +pkg/ +src/ +*.tar.* +*.pkg.* +awesome/ diff --git a/awesome-kj_sh604/PKGBUILD b/awesome-kj_sh604/PKGBUILD new file mode 100644 index 0000000..b3c7ab1 --- /dev/null +++ b/awesome-kj_sh604/PKGBUILD @@ -0,0 +1,62 @@ +# Maintainer: kj_sh604 <406hs_jk@proton.me> + +pkgname=awesome-kj_sh604 +_pkgname=awesome +pkgver=24.06 +pkgrel=6 +pkgdesc='this is just a renamed awesomeWM build, customized to suit + my personal preferences on my system. (tagged release)' +_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' 'awesome') +conflicts=('awesome') +backup=('etc/xdg/awesome/rc.lua') +source=("$_pkgname::git+https://github.com/kj-sh604/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" +} |
