From 8e049fe5d8282ef7a93731aa15d07ee96099dc6d Mon Sep 17 00:00:00 2001 From: Lorem Date: Tue, 7 Apr 2020 21:58:20 +0530 Subject: [PATCH] foliate: create symlink to executable Closes #20714 --- srcpkgs/foliate/template | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/srcpkgs/foliate/template b/srcpkgs/foliate/template index 6fac16f66c5..acf9d8cf9ba 100644 --- a/srcpkgs/foliate/template +++ b/srcpkgs/foliate/template @@ -1,7 +1,7 @@ # Template file for 'foliate' pkgname=foliate version=2.0.0 -revision=1 +revision=2 archs=noarch build_style=meson hostmakedepends="pkg-config gettext gjs glib-devel desktop-file-utils appstream-glib" @@ -12,3 +12,7 @@ license="GPL-3.0-or-later" homepage="https://johnfactotum.github.io/foliate/" distfiles="https://github.com/johnfactotum/foliate/archive/${version}.tar.gz" checksum=e3f7ab5242aa6d936b66d6a41147bf17c0334d7675b5e38e64829d204fd3712a + +post_install() { + ln -s com.github.johnfactotum.Foliate ${DESTDIR}/usr/bin/foliate +}