diff options
author | Philipp Schaffrath | 2019-06-05 04:02:35 +0200 |
---|---|---|
committer | Philipp Schaffrath | 2019-06-05 04:02:35 +0200 |
commit | c20fd569a662cabdcba1d1ea4b30abd18f4b84d0 (patch) | |
tree | 168da1568bfd7aae2d16442afee3bd5747b2843e | |
parent | fa94e755a4e6130f343d70c21ab5c6a35c9fd780 (diff) | |
download | aur-c20fd569a662cabdcba1d1ea4b30abd18f4b84d0.tar.gz |
1.0 release, hard dependency on xdotool, new optional dependency on libnotify, removed zenity dependency, updated pkgver function to work with un-annotated tags
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 7 insertions, 8 deletions
@@ -1,6 +1,6 @@ pkgbase = giph-git pkgdesc = gif recorder that records the desktop, a window or a selection - pkgver = r47.8e52600 + pkgver = v1.0.r0.gd7eccda pkgrel = 1 url = https://github.com/phisch/giph arch = any @@ -8,9 +8,9 @@ pkgbase = giph-git makedepends = git depends = bash depends = ffmpeg + depends = xdotool optdepends = slop: for interactive selection - optdepends = xdotool: for window or desktop recording - optdepends = zenity: for a graphical user interface + optdepends = libnotify: for error and success notifications provides = giph conflicts = giph source = giph-git::git://github.com/phisch/giph.git @@ -1,16 +1,15 @@ # Maintainer: Philipp Schaffrath <aur at philipp dot schaffrath dot email> pkgname=giph-git -pkgver=r47.8e52600 +pkgver=v1.0.r0.gd7eccda pkgrel=1 pkgdesc='gif recorder that records the desktop, a window or a selection' url='https://github.com/phisch/giph' license=('MIT') arch=('any') -depends=('bash' 'ffmpeg') +depends=('bash' 'ffmpeg' 'xdotool') optdepends=('slop: for interactive selection' - 'xdotool: for window or desktop recording' - 'zenity: for a graphical user interface') + 'libnotify: for error and success notifications') makedepends=('git') provides=('giph') conflicts=('giph') @@ -20,7 +19,7 @@ sha256sums=('SKIP') pkgver() { cd "$pkgname" ( set -o pipefail - git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' || + git describe --long --tags 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' || printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" ) } |