From 12ba8f862111f12405c319b6e5a0542469118919 Mon Sep 17 00:00:00 2001 From: Tim Biermann Date: Thu, 28 May 2020 10:11:51 +0000 Subject: [PATCH] f.lux: introduces post-install, fixes gschemas footprint --- f.lux/.footprint | 1 - f.lux/.signature | 6 +++--- f.lux/Pkgfile | 1 + f.lux/post-install | 2 ++ 4 files changed, 6 insertions(+), 4 deletions(-) create mode 100644 f.lux/post-install diff --git a/f.lux/.footprint b/f.lux/.footprint index 5eb9101a5..4367d66c8 100644 --- a/f.lux/.footprint +++ b/f.lux/.footprint @@ -26,7 +26,6 @@ drwxr-xr-x root/root usr/share/applications/ drwxr-xr-x root/root usr/share/glib-2.0/ drwxr-xr-x root/root usr/share/glib-2.0/schemas/ -rw-rw-r-- root/root usr/share/glib-2.0/schemas/apps.fluxgui.gschema.xml --rw-r--r-- root/root usr/share/glib-2.0/schemas/gschemas.compiled drwxr-xr-x root/root usr/share/icons/ drwxr-xr-x root/root usr/share/icons/Adwaita/ drwxr-xr-x root/root usr/share/icons/Adwaita/16x16/ diff --git a/f.lux/.signature b/f.lux/.signature index 74d0d1736..75daa6523 100644 --- a/f.lux/.signature +++ b/f.lux/.signature @@ -1,5 +1,5 @@ untrusted comment: verify with /etc/ports/contrib.pub -RWSagIOpLGJF30brFLBQza7Oxk8QvSEz6nrWSxdhbCcEoQe5k9WI9g57BxD1N0YixehbDg9jsXAlSXtiuR5qlZDsGl9qtX5pYQ8= -SHA256 (Pkgfile) = 5f6323c6e3adf32d76b6cfdfa3aeaa4ecceb6a80ef9e564a2dee3c325b267298 -SHA256 (.footprint) = 3e5459eaf4d0065bfada590b636fe02e2eadb0ba76f9a36e85c920746fc00073 +RWSagIOpLGJF36HYFOEoQS/IS4NzldFe8EMQ8B9OdnDul6SBoUbQyhp0AHxs7Eno6OcL3JGonMs1UA68VuMjieYowBrjheO1Ogw= +SHA256 (Pkgfile) = da7e653ce6df317302227e34f0b83452476a78ac269dfb3e4c7374bb886be438 +SHA256 (.footprint) = 1ea8e8ce1906fd22581c50e8a7abc613b5280825c84de4ffd35c2d3f06b1638e SHA256 (f.lux-1.2.0.tar.gz) = 3c230fa7fd5515996849ee775675aad86cb95fdbb824c18425fbdceb076bce63 diff --git a/f.lux/Pkgfile b/f.lux/Pkgfile index 014366d89..9c1faeafc 100644 --- a/f.lux/Pkgfile +++ b/f.lux/Pkgfile @@ -15,4 +15,5 @@ build() { # fix possible umask issues find $PKG/usr -type f -exec chmod a+r '{}' \; find $PKG/usr/bin $PKG/usr/share/applications -type f -exec chmod a+rx '{}' \; + rm -r $PKG/usr/share/glib-2.0/schemas/gschemas.compiled } diff --git a/f.lux/post-install b/f.lux/post-install new file mode 100644 index 000000000..65d44135b --- /dev/null +++ b/f.lux/post-install @@ -0,0 +1,2 @@ +#!/bin/sh +/usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas/