diff options
author | dudemanguy | 2017-09-11 15:37:40 -0500 |
---|---|---|
committer | dudemanguy | 2017-09-11 15:37:40 -0500 |
commit | 048f2d9ba48b499c0d445a78491ef3e426fc32aa (patch) | |
tree | 9d84096eb7ee45505e026c255167ba57cc4ec308 | |
parent | 90f7a1f6faf65ca28170d9061209b0bee3f760cd (diff) | |
download | aur-048f2d9ba48b499c0d445a78491ef3e426fc32aa.tar.gz |
fix file conflicts
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 13 |
2 files changed, 14 insertions, 1 deletions
@@ -1,5 +1,5 @@ # Generated by mksrcinfo v8 -# Mon Sep 11 19:43:12 UTC 2017 +# Mon Sep 11 20:37:11 UTC 2017 pkgbase = gtk3-patched-filechooser-icon-view pkgdesc = GTK3 patched with dudemanguy's fork of wfr's filechooser-icon-view patch. pkgver = 3.22.20 @@ -67,5 +67,18 @@ package() { install -Dm644 ../settings.ini "$pkgdir/usr/share/gtk-3.0/settings.ini" install -Dm644 ../gtk-query-immodules-3.0.hook "$pkgdir/usr/share/libalpm/hooks/gtk-query-immodules-3.0.hook" + + # split these out to avoid file conflicts with gtk-update-icon-cache and gtk3-print-backends + rm "$pkgdir/usr/bin/gtk-update-icon-cache" + + cd "$pkgdir" + for _f in usr/lib/*/*/printbackends/*; do + case $_f in + *-file.so|*-lpr.so) continue ;; + esac + + mkdir -p "$srcdir/print-backends/${_f%/*}" + mv "$_f" "$srcdir/print-backends/$_f" + done } |