summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 780702339ffd3b4fb03c58f8400b2fc7e73b62f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Maintainer: Rhinoceros <https://aur.archlinux.org/account/rhinoceros>
# Contributor: rafaqzsu <rafaqzsu [at] gmail (dot) com>

pkgname=cropgui-git
pkgver=0.5.r5.g150facd
pkgrel=1
epoch=1
pkgdesc='A GTK GUI for lossless JPEG cropping (and rotating)'
arch=('any')
url="https://emergent.unpythonic.net/01248401946"
license=('GPL')
depends=('python-pillow' 'libjpeg-turbo' 'pygtk' 'imagemagick' 'perl-image-exiftool')
makedepends=('git')
provides=('cropgui')
conflicts=('cropgui')
source=("$pkgname::git+https://github.com/jepler/cropgui")
md5sums=('SKIP')

pkgver() {
  cd "$pkgname"
  git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}

package() {
  cd "$pkgname"
  ./install.sh -f gtk -t $pkgdir -p /usr -P python
}