diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 17 |
1 files changed, 9 insertions, 8 deletions
@@ -1,14 +1,15 @@ -# Maintainer: rafaqzsu <rafaqzsu [at] gmail (dot) com> +# Maintainer: Rhinoceros <https://aur.archlinux.org/account/rhinoceros> +# Contributor: rafaqzsu <rafaqzsu [at] gmail (dot) com> + pkgname=cropgui-git -pkgver=349125 +pkgver=0.2.r60.g541e812 pkgrel=1 epoch=1 -pkgdesc="A GTK GUI for lossless JPEG cropping (and rotating)" +pkgdesc='A GTK GUI for lossless JPEG cropping (and rotating)' arch=('any') url="https://emergent.unpythonic.net/01248401946" license=('GPL') -depends=('python' - 'python2-pillow') +depends=('python' 'python2-pillow' 'libjpeg-turbo' 'imagemagick') makedepends=('git') provides=('cropgui') conflicts=('cropgui') @@ -16,11 +17,11 @@ source=("$pkgname::git+https://github.com/jepler/cropgui") md5sums=('SKIP') pkgver() { - cd "$srcdir/$pkgname" - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + cd "$pkgname" + git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' } package() { - cd "$srcdir/$pkgname" + cd "$pkgname" ./install.sh -f gtk -t $pkgdir -p /usr -P python2 } |