summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 59cec67ab04eb5fc341f036847d9ca9c80d2401f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
pkgname=hyprdots-ctl
pkgver=v0.4.0.33.gc367489
pkgrel=1
pkgdesc="CLI for Hyprdots Configurations ++ Hidden Gems"
arch=('x86_64')
url="https://github.com/kRHYME7/Hyprdots-ctl"
license=('GPL3')
depends=( 'fzf' 'tree' 'ttf-jetbrains-mono-nerd' )
makedepends=('git' 'make' 'curl' 'base-devel')
source=("git+https://github.com/kRHYME7/Hyprdots-ctl.git")
md5sums=('SKIP')
conflicts=("hyprdots-ctl-git")


pkgver() { 
  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" || return
    make DESTDIR="$pkgdir" clean all
}