diff --git a/srcpkgs/gscreenshot/template b/srcpkgs/gscreenshot/template index 1b0e33b403e..d74003ae81c 100644 --- a/srcpkgs/gscreenshot/template +++ b/srcpkgs/gscreenshot/template @@ -2,12 +2,19 @@ pkgname=gscreenshot version=2.7.3 revision=1 +noarch=yes build_style=python-module +pycompile_module="gscreenshot" hostmakedepends="python scrot python-setuptools" -makedepends="python-Pillow python-gobject" +depends="python-Pillow python-gobject scrot" short_desc="GUI front-end for the scrot program" maintainer="Rui Flora " license="GPL-2" homepage="https://github.com/thenaterhood/gscreenshot" distfiles="https://github.com/thenaterhood/gscreenshot/archive/v${version}.tar.gz" checksum=8868e3966648852cd5aa76ec350ff11d9970850d714c2fdd49f7ec55d4c7d464 + +post_install() { + ln -sf gscreenshot2 ${DESTDIR}/usr/bin/gscreenshot + ln -sf gscreenshot-cli2 ${DESTDIR}/usr/bin/gscreenshot-cli +}