From 4c2f6fe004826edbd2eee13ce22c3d214f7fa814 Mon Sep 17 00:00:00 2001 From: John Date: Sat, 12 Jun 2021 21:25:15 +0200 Subject: [PATCH] xdg-utils: use bash in xdg-setttings closes #14457 --- .../patches/xdg-settings-not-sh-compatible.patch | 11 +++++++++++ srcpkgs/xdg-utils/template | 3 ++- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/xdg-utils/patches/xdg-settings-not-sh-compatible.patch diff --git a/srcpkgs/xdg-utils/patches/xdg-settings-not-sh-compatible.patch b/srcpkgs/xdg-utils/patches/xdg-settings-not-sh-compatible.patch new file mode 100644 index 0000000000..bf9ed66c5d --- /dev/null +++ b/srcpkgs/xdg-utils/patches/xdg-settings-not-sh-compatible.patch @@ -0,0 +1,11 @@ +xdg-settings uses the ${parameter:offset} substring expansion, +which is not available in posix shell + +--- scripts/xdg-settings.in 2018-05-10 17:02:31.000000000 +0200 ++++ - 2021-06-12 21:17:34.555007469 +0200 +@@ -1,4 +1,4 @@ +-#!/bin/sh ++#!/bin/bash + #--------------------------------------------- + # xdg-settings + # diff --git a/srcpkgs/xdg-utils/template b/srcpkgs/xdg-utils/template index 508cfa891f..d4094a2921 100644 --- a/srcpkgs/xdg-utils/template +++ b/srcpkgs/xdg-utils/template @@ -1,10 +1,11 @@ # Template file for 'xdg-utils' pkgname=xdg-utils version=1.1.3 -revision=2 +revision=3 build_style=gnu-configure make_check_target=test hostmakedepends="xmlto lynx" +depends="bash" short_desc="Tools to assist applications with various desktop integration tasks" maintainer="Orphaned " license="MIT"