summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: fa9e3ee5c9ba6527fa7452bdc29e7a6eda647699 (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
# Maintainer: rafaqzsu <rafaqzsu [at] gmail (dot) com>
pkgname=cropgui-git
pkgver=db8091
pkgrel=1
pkgdesc="A GTK GUI for lossless JPEG cropping (and rotating)"
arch=('any')
url="https://emergent.unpythonic.net/01248401946"
license=('GPL')
depends=('python'
         'python2-pillow')
makedepends=('git')
provides=('cropgui')
conflicts=('cropgui')
source=("$pkgname::git+https://github.com/jepler/cropgui")
md5sums=('SKIP')

pkgver() {
  git describe --always | sed -e 's|-|.|g' -e '1s|^.||'
}

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