diff options
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 9 insertions, 2 deletions
@@ -1,6 +1,6 @@ pkgbase = bitwarden-menu-git pkgdesc = Dmenu/Rofi frontend for Bitwarden/Vaultwarden. - pkgver = r50.7cb8386 + pkgver = r101.1324b78 pkgrel = 1 url = https://github.com/firecat53/bitwarden-menu install = bitwarden-menu.install @@ -11,6 +11,8 @@ pkgbase = bitwarden-menu-git makedepends = python-installer makedepends = python-setuptools makedepends = python-wheel + makedepends = python-hatchling + makedepends = python-hatch-vcs depends = python depends = python-pynput depends = bitwarden-cli @@ -11,7 +11,8 @@ arch=('any') url="https://github.com/firecat53/bitwarden-menu" license=('MIT') depends=('python' 'python-pynput' 'bitwarden-cli' 'python-xdg') -makedepends=('git' 'python-build' 'python-installer' 'python-setuptools' 'python-wheel') +makedepends=('git' 'python-build' 'python-installer' 'python-setuptools' 'python-wheel' + 'python-hatchling' 'python-hatch-vcs') optdepends=('dmenu: either dmenu or rofi is required' 'rofi: either dmenu or rofi is required' 'xdotool: required for typing non-U.S. Unicode characters' @@ -22,6 +23,10 @@ source=("git+https://github.com/firecat53/$_gitname.git") md5sums=('SKIP') install="$_pkgname.install" +prepare() { + git -C "$_gitname" clean -dfx +} + pkgver() { cd "$_gitname" printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" |