X-Original-To: alpine-aports@lists.alpinelinux.org Delivered-To: alpine-aports@mail.alpinelinux.org Received: from mail-yh0-f52.google.com (mail-yh0-f52.google.com [209.85.213.52]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id E9BC0DC0C27 for ; Tue, 23 Dec 2014 12:59:46 +0000 (UTC) Received: by mail-yh0-f52.google.com with SMTP id z6so3097204yhz.25 for ; Tue, 23 Dec 2014 04:59:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=nmhKSEU79HRaXlSZta268XWxCCrIMAE667PiNugFqWE=; b=BXC5E8NunKDYOWtTLHAoc67DfpPiYKXddix4fzaK7un2Tt462V6eUqxsiNuV3H0PrU Lv94jqsBq3As8/xQCYrJLtgu//Jbf6WTaIGeyPO5QGix+Q0gImMccDemSWW3ET/Rmopv pYRymcSMJfU2AUg55XSIfwAsABb3rW9E/Bs5YI1z7+xlu0IoFR4JyIFRN8C3VU0fnzKF Yi3uY0f19PbikB5pr+/Dzb6ZcTQRwG/I49hC6sWZ94qhoiqgqTkgtWOwVScowQQwTin2 NtPEyFQpbutINLsbYV7igQOs7lzpDyTjs78BLL4eHyV4YaH/kgRI89juTo+4MHcVmE4H jSow== X-Received: by 10.236.230.36 with SMTP id i34mr21763201yhq.124.1419339586192; Tue, 23 Dec 2014 04:59:46 -0800 (PST) Received: from alacerda-dev.bethel.jw.org ([186.233.140.3]) by mx.google.com with ESMTPSA id h9sm13886841yha.21.2014.12.23.04.59.44 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 23 Dec 2014 04:59:45 -0800 (PST) From: Alan Lacerda X-Google-Original-From: Alan Lacerda To: alpine-aports@lists.alpinelinux.org Cc: Alan Lacerda Subject: [alpine-aports] [PATCH] testing/mate-icon-theme: Added post-install script to update icon cache Date: Tue, 23 Dec 2014 12:59:36 +0000 Message-Id: <1419339576-25596-1-git-send-email-alacerda@alpinelinux.org> X-Mailer: git-send-email 2.1.3 X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: --- testing/mate-icon-theme/APKBUILD | 5 +++-- testing/mate-icon-theme/mate-icon-theme.post-install | 4 ++++ 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 testing/mate-icon-theme/mate-icon-theme.post-install diff --git a/testing/mate-icon-theme/APKBUILD b/testing/mate-icon-theme/APKBUILD index 09eecda..d8ef4ae 100644 --- a/testing/mate-icon-theme/APKBUILD +++ b/testing/mate-icon-theme/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: pkgname=mate-icon-theme pkgver=1.9.0 -pkgrel=0 +pkgrel=1 pkgdesc="MATE desktop icons" url="https://github.com/mate-desktop/mate-icon-theme" arch="noarch" @@ -10,7 +10,7 @@ license="GPL2" depends="mate-common" depends_dev="" makedepends="icon-naming-utils intltool" -install="" +install="mate-icon-theme.post-install" subpackages="" source="http://pub.mate-desktop.org/releases/1.9/$pkgname-$pkgver.tar.xz" @@ -38,6 +38,7 @@ build() { package() { cd "$_builddir" make DESTDIR="${pkgdir}" install || return 1 + rm -f "${pkgdir}/usr/share/icons/mate/icon-theme.cache" } md5sums="acee85ec61cc8453569622f77e385c68 mate-icon-theme-1.9.0.tar.xz" diff --git a/testing/mate-icon-theme/mate-icon-theme.post-install b/testing/mate-icon-theme/mate-icon-theme.post-install new file mode 100644 index 0000000..723be69 --- /dev/null +++ b/testing/mate-icon-theme/mate-icon-theme.post-install @@ -0,0 +1,4 @@ +#!/bin/sh + +gtk-update-icon-cache -q -t -f /usr/share/icons/mate +gtk-update-icon-cache -q -t -f /usr/share/icons/menta -- 2.1.3 --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---