summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Morgner2017-01-17 10:43:35 +0100
committerFelix Morgner2017-01-17 10:43:35 +0100
commit5fa097a4c9389782644e39d5c9b7001ef5c94902 (patch)
treea144e975f318265df0e9600e0da5b018fa690070
parentd085755058495c36f93d53b2c851711faf0bd3f9 (diff)
downloadaur-5fa097a4c9389782644e39d5c9b7001ef5c94902.tar.gz
fix gtk-update-icon-cache invocation
-rw-r--r--PKGBUILD7
-rw-r--r--gtk-update-icon-cache-invocation.patch21
2 files changed, 26 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index e85e3f1e09c..4d938696fe4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -14,13 +14,16 @@ backup=('etc/dnssec.conf'
'etc/dnssec-trigger/dnssec-trigger.conf')
source=(http://www.nlnetlabs.nl/downloads/dnssec-trigger/$pkgname-$pkgver.tar.gz
dnssec-triggerd.service
- dnssec-triggerd-keygen.service)
+ dnssec-triggerd-keygen.service
+ gtk-update-icon-cache-invocation.patch)
sha256sums=('d8418e6456263229acebdd7d32d43b1e8571f599fdff2f71a023dcad6882b631'
'c8ed3ef4ec9cba0bd00f47bfbf0e59c318130615aca4370bc597d98365445be9'
- '831f2cf40687325d50fcc11a74050198d9a24f230749e3570cf9153abf3db12e')
+ '831f2cf40687325d50fcc11a74050198d9a24f230749e3570cf9153abf3db12e'
+ 'b0201b13682e865f01e536c8316ea9fc29a33a072aa757de737163acad8720fb')
prepare() {
cd "$srcdir/$pkgname-$pkgver"
+ patch -p1 -i "$srcdir/gtk-update-icon-cache-invocation.patch"
sed -i "s!/usr/libexec/!/usr/lib/$pkgname/!g" 01-dnssec-trigger.in
}
diff --git a/gtk-update-icon-cache-invocation.patch b/gtk-update-icon-cache-invocation.patch
new file mode 100644
index 00000000000..77e06687fc9
--- /dev/null
+++ b/gtk-update-icon-cache-invocation.patch
@@ -0,0 +1,21 @@
+diff -aur dnssec-trigger-0.13/Makefile.in dnssec-trigger-0.13-new/Makefile.in
+--- dnssec-trigger-0.13/Makefile.in 2015-12-08 14:14:54.000000000 +0100
++++ dnssec-trigger-0.13-new/Makefile.in 2017-01-17 10:31:58.583378596 +0100
+@@ -468,7 +468,7 @@
+ $(INSTALL) -c -m 644 $(srcdir)/panel/status-icon-alert.svg $(DESTDIR)/usr/share/icons/hicolor/scalable/apps/dnssec-trigger-alert.svg
+ $(INSTALL) -c -m 644 $(srcdir)/panel/status-icon.png $(DESTDIR)/usr/share/icons/hicolor/64x64/apps/dnssec-trigger.png
+ $(INSTALL) -c -m 644 $(srcdir)/panel/status-icon-alert.png $(DESTDIR)/usr/share/icons/hicolor/64x64/apps/dnssec-trigger-alert.png
+- gtk-update-icon-cache $(DESTDIR)/usr/share/icons/hicolor
++ gtk-update-icon-cache -t $(DESTDIR)/usr/share/icons/hicolor
+ endif
+ if test -n "$(xdg_autostart_dir)"; then \
+ $(INSTALL) -m 755 -d $(DESTDIR)$(xdg_autostart_dir) ; \
+@@ -484,7 +484,7 @@
+ rm -f $(DESTDIR)/usr/share/icons/hicolor/scalable/apps/dnssec-trigger-alert.svg
+ rm -f $(DESTDIR)/usr/share/icons/hicolor/64x64/apps/dnssec-trigger.png
+ rm -f $(DESTDIR)/usr/share/icons/hicolor/64x64/apps/dnssec-trigger-alert.png
+- gtk-update-icon-cache $(DESTDIR)/usr/share/icons/hicolor
++ gtk-update-icon-cache -t $(DESTDIR)/usr/share/icons/hicolor
+ endif
+ if test -n "$(xdg_autostart_dir)"; then \
+ rm -f $(DESTDIR)$(xdg_autostart_dir)/dnssec-trigger-panel.desktop ; fi