diff --git a/Hyprdots b/Hyprdots index 1fc0c93..567d541 100644 --- a/Hyprdots +++ b/Hyprdots @@ -1,5 +1,7 @@ #!/bin/bash -hyprdots_ctl_version=v0.2.0.46.24020600 +if [ "$(whoami)" = "root" ] || [ $(id -u) -eq 0 ] ; then echo "Oh no! What have you done! Run without 'sudo'...EXITING" ; exit 1 ;fi + +hyprdots_ctl_version='v0.3.7.1.gafdc8ad - February 06, 2024 @ 14:35' export PATH=$PATH:/usr/lib/hyprdots-ctl/ diff --git a/aur/PKGBUILD b/aur/PKGBUILD index b59396a..8796db2 100644 --- a/aur/PKGBUILD +++ b/aur/PKGBUILD @@ -1,7 +1,7 @@ pkgname=hyprdots-ctl -pkgver=v0.2.0.46.24020600 +pkgver=v0.3.5.24020613 pkgrel=1 -pkgdesc="CLI for Hyprdots Configurations" +pkgdesc="CLI for Hyprdots Configurations ++ Hidden Gems" arch=('x86_64') url="https://github.com/kRHYME7/Hyprdots-ctl" license=('GPL3') @@ -10,7 +10,13 @@ makedepends=('git' 'make' 'curl') source=("git+https://github.com/kRHYME7/Hyprdots-ctl.git") md5sums=('SKIP') +pkgver() { #! If someone might read this help me automate the pkgver please. tnx + cd "$srcdir/Hyprdots-ctl" || return + git fetch --tags + git describe --long --tags --always | sed 's/-/./g' # Replace hyphens with dots to conform to versioning standards +} + package() { - cd "${srcdir}/Hyprdots-ctl" + cd "${srcdir}/Hyprdots-ctl" || return make DESTDIR="$pkgdir" clean all -} \ No newline at end of file +} diff --git a/aur/hyprdots-ctl b/aur/hyprdots-ctl index aa003cd..65fd5b9 160000 --- a/aur/hyprdots-ctl +++ b/aur/hyprdots-ctl @@ -1 +1 @@ -Subproject commit aa003cdc3e23ed2c868244843a3b4785f9316bea +Subproject commit 65fd5b99b6c6d2b8a31beee09d6229e75746f660