diff options
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 16 |
2 files changed, 10 insertions, 12 deletions
@@ -1,6 +1,6 @@ pkgbase = wcm-git pkgdesc = Wayfire Config Manager - pkgver = v0.3.r1.g82fef44 + pkgver = 0.6.0.r0.g5d935e0 pkgrel = 1 url = https://wayfire.org arch = x86_64 @@ -10,9 +10,9 @@ pkgbase = wcm-git makedepends = ninja makedepends = git makedepends = extra-cmake-modules - depends = wf-config depends = gtkmm3 - depends = wayfire + depends = wayfire-git + depends = wf-shell-git optdepends = wayfire-plugins-extra: configuration for extra Wayfire plugins provides = wcm conflicts = wcm @@ -1,6 +1,6 @@ # Maintainer: Adrian Perez de Castro <aperez@igalia.com> pkgname=wcm-git -pkgver=v0.3.r1.g82fef44 +pkgver=0.6.0.r0.g5d935e0 pkgrel=1 pkgdesc='Wayfire Config Manager' url=https://wayfire.org @@ -8,19 +8,17 @@ arch=(x86_64) license=(custom:MIT) provides=("${pkgname%-git}") conflicts=("${pkgname%-git}") -depends=(wf-config gtkmm3 wayfire) +depends=(gtkmm3 wayfire-git wf-shell-git) makedepends=(wayland-protocols meson ninja git extra-cmake-modules) optdepends=("wayfire-plugins-extra: configuration for extra Wayfire plugins") source=("${pkgname}::git+https://github.com/WayfireWM/wcm") sha512sums=('SKIP') -pkgver () { - cd "${pkgname}" - ( - 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)" - ) +pkgver() { + cd "${pkgname}" + ( set -o pipefail + git describe --long --tag 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/^v//' + ) } build () { |