diff options
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | .gitignore | 7 | ||||
-rw-r--r-- | PKGBUILD | 12 |
3 files changed, 17 insertions, 8 deletions
@@ -1,11 +1,12 @@ pkgbase = touchpad-indicator-git pkgdesc = An indicator for the touchpad - pkgver = 2.2.2.0extras19.04.1.r108.8fc5078 - pkgrel = 3 + pkgver = 2.2.3.ubuntu20.04.0.r126.0fdca1a + 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 @@ -22,4 +23,3 @@ pkgbase = touchpad-indicator-git sha256sums = SKIP pkgname = touchpad-indicator-git - diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..4dab8d6386e3 --- /dev/null +++ b/.gitignore @@ -0,0 +1,7 @@ +# Ignore everything +* + +# But not these files... +!.gitignore +!PKGBUILD +!.SRCINFO @@ -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.2.0extras19.04.1.r108.8fc5078 -pkgrel=3 +pkgver=2.2.3.ubuntu20.04.0.r126.0fdca1a +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') +makedepends=('git' 'dpkg') provides=("${pkgname%-git}") conflicts=("${pkgname%-git}") source=("${pkgname%-git}::git+https://github.com/atareao/Touchpad-Indicator.git") @@ -17,8 +17,10 @@ sha256sums=('SKIP') pkgver() { cd "$srcdir/${pkgname%-git}" - 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)" +# 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)" + printf "%s.r%s.%s" "$(dpkg-parsechangelog --show-field Version | sed 's/-/./')" \ + "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } prepare() { |