diff options
-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)" ) } |