From bfbfa56c42c6597ed1f9ff9c46863b38b204179b Mon Sep 17 00:00:00 2001 From: kj-sh604 Date: Mon, 5 Aug 2024 14:40:27 -0400 Subject: refactor: rename package --- awesome-kj_sh604/.SRCINFO | 41 ++++++++++++++++++++++++++++++ awesome-kj_sh604/.gitignore | 5 ++++ awesome-kj_sh604/PKGBUILD | 62 +++++++++++++++++++++++++++++++++++++++++++++ kjwm/.SRCINFO | 41 ------------------------------ kjwm/.gitignore | 5 ---- kjwm/PKGBUILD | 62 --------------------------------------------- 6 files changed, 108 insertions(+), 108 deletions(-) create mode 100644 awesome-kj_sh604/.SRCINFO create mode 100644 awesome-kj_sh604/.gitignore create mode 100644 awesome-kj_sh604/PKGBUILD delete mode 100644 kjwm/.SRCINFO delete mode 100644 kjwm/.gitignore delete mode 100644 kjwm/PKGBUILD 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" +} diff --git a/kjwm/.SRCINFO b/kjwm/.SRCINFO deleted file mode 100644 index 4124be2..0000000 --- a/kjwm/.SRCINFO +++ /dev/null @@ -1,41 +0,0 @@ -pkgbase = kjwm - pkgdesc = this is just a renamed awesomeWM build, customized to suit my personal preferences on my system. (tagged release) - pkgver = 24.04 - pkgrel = 18 - 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/awesomeWM/awesome.git#commit=ad0290bc1aac3ec2391aa14784146a53ebf9d1f0 - md5sums = SKIP - -pkgname = kjwm diff --git a/kjwm/.gitignore b/kjwm/.gitignore deleted file mode 100644 index 5a2066d..0000000 --- a/kjwm/.gitignore +++ /dev/null @@ -1,5 +0,0 @@ -pkg/ -src/ -*.tar.* -*.pkg.* -awesome/ diff --git a/kjwm/PKGBUILD b/kjwm/PKGBUILD deleted file mode 100644 index eeecf18..0000000 --- a/kjwm/PKGBUILD +++ /dev/null @@ -1,62 +0,0 @@ -# Maintainer: kj_sh604 <406hs_jk@proton.me> - -pkgname=kjwm -_pkgname=awesome -pkgver=24.04 -pkgrel=18 -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/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" -} -- cgit v1.2.3