diff options
author | Fenner Macrae | 2023-09-24 14:57:59 -0700 |
---|---|---|
committer | Fenner Macrae | 2023-09-24 14:57:59 -0700 |
commit | ee1e958c0fd6562912f43d319d2965e4e05d1ebb (patch) | |
tree | e11ab9b518151482129ad76a4be2ae2dd3224bd8 | |
parent | 825657fc11f2f933ba994916a3e1ddb3b16aff14 (diff) | |
download | aur-ee1e958c0fd6562912f43d319d2965e4e05d1ebb.tar.gz |
Fix pkgver and add makedepends
-rw-r--r-- | .SRCINFO | 1 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 3 insertions, 2 deletions
@@ -8,6 +8,7 @@ pkgbase = flashfocus-git makedepends = git makedepends = python-build makedepends = python-installer + makedepends = python-setuptools makedepends = python-wheel depends = python-xcffib depends = python-click @@ -12,7 +12,7 @@ depends=('python-xcffib' 'python-marshmallow' 'python-yaml' 'python-i3ipc') -makedepends=('git' 'python-build' 'python-installer' 'python-wheel') +makedepends=('git' 'python-build' 'python-installer' 'python-setuptools' 'python-wheel') conflicts=('flashfocus') provides=('flashfocus') license=('MIT') @@ -22,7 +22,7 @@ md5sums=("SKIP") pkgver() { cd "$srcdir/$_pkgname" - git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' + git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' } build() { |