diff --git a/data/themes/meson.build b/data/themes/meson.build index e895488..d44956a 100644 --- a/data/themes/meson.build +++ b/data/themes/meson.build @@ -10,4 +10,5 @@ custom_target(src + '.edj', install_dir: join_paths(dir_data, proj, 'themes'), install : true ) -meson.add_install_script('perms.sh') +out = join_paths(dir_data, proj, 'themes', 'default.edj') +meson.add_install_script(chmod, 'a+r', out) diff --git a/data/themes/perms.sh b/data/themes/perms.sh deleted file mode 100755 index 9aa2a99..0000000 --- a/data/themes/perms.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -chmod a+r "${DESTDIR}/${MESON_INSTALL_PREFIX}/share/rage/themes/default.edj" diff --git a/meson-chmod.sh b/meson-chmod.sh new file mode 100755 index 0000000..7fed6de --- /dev/null +++ b/meson-chmod.sh @@ -0,0 +1,2 @@ +#!/bin/sh +chmod "$1" "${DESTDIR}/$2" diff --git a/meson.build b/meson.build index 216849e..73f39e3 100644 --- a/meson.build +++ b/meson.build @@ -9,6 +9,7 @@ base_url = 'https://www.enlightenment.org/about-' ##### convenience variables for later proj = meson.project_name() ver = meson.project_version() +chmod = join_paths(meson.source_root(), 'meson-chmod.sh') ##### dependencies efl_version = '>= 1.19.0'