diff options
author | Earnestly | 2016-05-21 12:06:47 +0100 |
---|---|---|
committer | Earnestly | 2016-05-21 12:06:47 +0100 |
commit | 465783039f6aeeafb6da23bd50f3d9aa818ff060 (patch) | |
tree | 04334a38d3bdb4eeddd469347f98e7de57a85bb0 | |
parent | 759c447642cf7d930a587b677e59e72a6ef4ffd2 (diff) | |
download | aur-465783039f6aeeafb6da23bd50f3d9aa818ff060.tar.gz |
gtk3-optional-csd: prefer hooks
-rw-r--r-- | PKGBUILD | 4 | ||||
-rw-r--r-- | gtk3.install | 18 |
2 files changed, 3 insertions, 19 deletions
@@ -1,5 +1,5 @@ pkgname=gtk3-optional-csd -pkgver=3.20.3 +pkgver=3.20.5 pkgrel=1 pkgdesc='gobject-based gui toolkit with optionally enabled csd' @@ -20,7 +20,7 @@ conflicts=('gtk3') source=("https://download.gnome.org/sources/gtk+/${pkgver:0:4}/gtk+-$pkgver.tar.xz" 'gtk3-make-csd-optional.patch') -sha1sums=('460259a1aa8791c9e640e9d0a0785253ebaf93dc' +sha1sums=('8cad1b3267c2ead7454cd90499bf873396b01e43' 'b667c109d6f58ea8547a52a7b381ed65e383d778') install='gtk3.install' diff --git a/gtk3.install b/gtk3.install index 4e46d6b0a642..763314b2fb73 100644 --- a/gtk3.install +++ b/gtk3.install @@ -1,19 +1,3 @@ post_install() { - /usr/bin/gtk-query-immodules-3.0 --update-cache - /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas - /usr/bin/gtk-update-icon-cache -qtf /usr/share/icons/hicolor - printf 'Use GTK_CSD=1 to enable the CSD where the CSD can be used.\n' -} - -post_upgrade() { - post_install -} - -pre_remove() { - rm -f /usr/lib/gtk-3.0/3.0.0/immodules.cache -} - -post_remove() { - /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas - /usr/bin/gtk-update-icon-cache -qtf /usr/share/icons/hicolor + printf 'Use GTK_CSD=1 to enable the CSD where the CSD can be used\n' } |