From 1abd7ed40e98abc8f5d51da30b561acb63523a85 Mon Sep 17 00:00:00 2001 From: Duncaen Date: Tue, 15 Aug 2017 19:11:55 +0200 Subject: [PATCH] gscreenshot: fixups --- srcpkgs/gscreenshot/template | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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 +}