diff options
author | gustawho | 2022-07-01 23:57:31 -0600 |
---|---|---|
committer | gustawho | 2022-07-01 23:57:31 -0600 |
commit | ab63b763db7055d4de430961cf62cb2a42c64dde (patch) | |
tree | 9059a0ddcf69f074a183a0c68cdf27202efc055a | |
parent | 4be57df8a5d7f6bd2dc0765b10405199a921ad78 (diff) | |
download | aur-kweather-git.tar.gz |
PKGBUILD format
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 4 insertions, 4 deletions
@@ -22,10 +22,10 @@ pkgbase = kweather-git depends = kdbusaddons depends = plasma-framework depends = kweathercore-git + depends = qt5-charts provides = kweather conflicts = kweather source = git+https://invent.kde.org/plasma-mobile/kweather.git sha256sums = SKIP pkgname = kweather-git - @@ -8,7 +8,7 @@ arch=(x86_64 i686 arm armv6h armv7h aarch64) url="https://invent.kde.org/plasma-mobile/kweather" license=(GPL3) depends=('ki18n' 'kconfig' 'kcoreaddons' 'knotifications' 'kirigami2' - 'kdbusaddons' 'plasma-framework' 'kweathercore-git') + 'kdbusaddons' 'plasma-framework' 'kweathercore-git' 'qt5-charts') makedepends=('git' 'extra-cmake-modules' 'qt5-svg' 'qt5-tools') provides=('kweather') conflicts=('kweather') @@ -18,8 +18,8 @@ sha256sums=('SKIP') pkgver() { cd "${pkgname%-git}" ( set -o pipefail - git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' || - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + git describe --long --tags --first-parent --match 'v[0-9][0-9.][0-9.]*' | \ + sed 's=^v==;s=^\([0-9][0-9.]*\)-\([a-zA-Z]\+\)=\1\2=;s=\([0-9]\+-g\)=r\1=;s=-=.=g' ) } |