cropgui: fix order of parameters

With this ordering of parameters for ./install.sh the binary
is installed in /usr/bin instead of /.
This commit is contained in:
Jürgen Buchmüller 2020-03-19 17:50:05 +01:00
parent 042378a403
commit efb347e69f

View file

@ -1,18 +1,18 @@
# Template file for 'cropgui'
pkgname=cropgui
version=0.4
revision=1
hostmakedepends="python"
revision=2
hostmakedepends="which"
makedepends="python"
depends="python python-Pillow python-gobject2 pygtk libjpeg-turbo-tools
ImageMagick exiftool"
depends="python python-Pillow python-gobject2
pygtk libjpeg-turbo-tools ImageMagick exiftool"
short_desc="Gtk frontend for lossless cropping of jpeg images"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2"
license="GPL-2.0-or-later"
homepage="https://github.com/jepler/cropgui"
distfiles="https://github.com/jepler/cropgui/archive/v${version}.tar.gz"
checksum=bf5a5b14032d01799f8d942790e316203f33a7c007eedf23e57c79d5a47d6fb1
do_install() {
./install.sh -f gtk -t "$PKGDESTDIR" -p /usr -P python2
./install.sh -f gtk -t "$PKGDESTDIR" -P python -p /usr
}