From 623ef96494038ad9cae85c7a4a50abb507e274ed Mon Sep 17 00:00:00 2001 From: Chaoting Liu Date: Mon, 14 May 2018 02:04:52 +0100 Subject: [PATCH] [skip-ci] gtk3: remove gtk-update-icon-cache.install --- gtk3/PKGBUILD | 7 +++---- gtk3/gtk-update-icon-cache.install | 3 --- 2 files changed, 3 insertions(+), 7 deletions(-) delete mode 100644 gtk3/gtk-update-icon-cache.install diff --git a/gtk3/PKGBUILD b/gtk3/PKGBUILD index 6580ea4..096282e 100644 --- a/gtk3/PKGBUILD +++ b/gtk3/PKGBUILD @@ -50,7 +50,7 @@ package_gtk3() { cd "gtk+-$pkgver" make DESTDIR="$pkgdir" install 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" + install -Dm644 $srcdir/gtk-query-immodules-3.0.hook "$pkgdir/usr/share/libalpm/hooks/gtk-query-immodules-3.0.hook" # split this out to use with gtk2 too rm "$pkgdir/usr/bin/gtk-update-icon-cache" @@ -59,10 +59,9 @@ package_gtk3() { package_gtk-update-icon-cache() { pkgdesc="GTK+ icon cache updater" depends=(gdk-pixbuf2 hicolor-icon-theme) - install=gtk-update-icon-cache.install cd gtk+-$pkgver/gtk install -Dm755 gtk-update-icon-cache "$pkgdir/usr/bin/gtk-update-icon-cache" - install -Dm644 ../gtk-update-icon-cache.hook "$pkgdir/usr/share/libalpm/hooks/gtk-update-icon-cache.hook" - install -D ../gtk-update-icon-cache.script "$pkgdir/usr/share/libalpm/scripts/gtk-update-icon-cache" + install -Dm644 $srcdir/gtk-update-icon-cache.hook "$pkgdir/usr/share/libalpm/hooks/gtk-update-icon-cache.hook" + install -D $srcdir/gtk-update-icon-cache.script "$pkgdir/usr/share/libalpm/scripts/gtk-update-icon-cache" } diff --git a/gtk3/gtk-update-icon-cache.install b/gtk3/gtk-update-icon-cache.install deleted file mode 100644 index 1afcc72..0000000 --- a/gtk3/gtk-update-icon-cache.install +++ /dev/null @@ -1,3 +0,0 @@ -post_install() { - gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor -}