diff options
author | Mark Wagie | 2022-11-28 15:33:30 -0700 |
---|---|---|
committer | Mark Wagie | 2022-11-28 15:33:30 -0700 |
commit | da9c2aecd9f7f128a3170d198d93764dc443d239 (patch) | |
tree | 31e1760782238092404ddea8dcc8a4f3d2864590 | |
parent | 114de40c42f5456aace54a65c458753b6762cdd2 (diff) | |
download | aur-da9c2aecd9f7f128a3170d198d93764dc443d239.tar.gz |
don't use dpkg for pkgver(), does not work checking devel updates
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 12 |
2 files changed, 8 insertions, 9 deletions
@@ -1,12 +1,11 @@ pkgbase = touchpad-indicator-git pkgdesc = An indicator for the touchpad - pkgver = 2.2.3.ubuntu20.04.0.r131.bc21ab5 - pkgrel = 3 + pkgver = 2.2.3.ubuntu20.04.0.r133.b789619 + pkgrel = 1 url = https://github.com/atareao/Touchpad-Indicator arch = any license = GPL3 makedepends = git - makedepends = dpkg depends = gdk-pixbuf2 depends = libappindicator-gtk3 depends = libnotify @@ -1,15 +1,15 @@ # Maintainer: Mark Wagie <mark dot wagie at tutanota dot com> # Contributor: Ted Alff <twa022 at gmail dot com> pkgname=touchpad-indicator-git -pkgver=2.2.3.ubuntu20.04.0.r131.bc21ab5 -pkgrel=3 +pkgver=2.2.3.ubuntu20.04.0.r133.b789619 +pkgrel=1 pkgdesc="An indicator for the touchpad" arch=('any') url="https://github.com/atareao/Touchpad-Indicator" license=('GPL3') depends=('gdk-pixbuf2' 'libappindicator-gtk3' 'libnotify' 'lsb-release' 'librsvg' 'python-xlib' 'python-pyudev' 'python-dbus' 'python-evdev' 'xorg-xinput') -makedepends=('git' 'dpkg') +makedepends=('git') provides=("${pkgname%-git}") conflicts=("${pkgname%-git}") source=("${pkgname%-git}::git+https://github.com/atareao/Touchpad-Indicator.git") @@ -17,9 +17,9 @@ sha256sums=('SKIP') pkgver() { cd "$srcdir/${pkgname%-git}" - printf "%s.r%s.%s" "$(dpkg-parsechangelog --show-field Version | sed 's/-/./')" \ - "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" -} + printf "%s.r%s.%s" "$(head -n 1 debian/changelog | cut -d'(' -f 2 | cut -d')' -f 1 | \ + sed 's/-/./')" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + } prepare() { cd "$srcdir/${pkgname%-git}" |