[arch-commits] Commit in mate-icon-theme/repos (3 files)
Martin Wimpress
flexiondotorg at archlinux.org
Tue Jun 9 09:48:57 UTC 2015
Date: Tuesday, June 9, 2015 @ 11:48:57
Author: flexiondotorg
Revision: 135072
archrelease: copy trunk to community-staging-any
Added:
mate-icon-theme/repos/community-staging-any/
mate-icon-theme/repos/community-staging-any/PKGBUILD
(from rev 135071, mate-icon-theme/trunk/PKGBUILD)
mate-icon-theme/repos/community-staging-any/mate-icon-theme.install
(from rev 135071, mate-icon-theme/trunk/mate-icon-theme.install)
-------------------------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
mate-icon-theme.install | 12 ++++++++++++
2 files changed, 42 insertions(+)
Copied: mate-icon-theme/repos/community-staging-any/PKGBUILD (from rev 135071, mate-icon-theme/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2015-06-09 09:48:57 UTC (rev 135072)
@@ -0,0 +1,30 @@
+# Maintainer : Martin Wimpress <code at flexion.org>
+
+_ver=1.10
+pkgname=mate-icon-theme
+pkgver=${_ver}.1
+pkgrel=1
+pkgdesc="MATE icon theme"
+url="http://mate-desktop.org"
+arch=('any')
+license=('GPL')
+depends=('gtk-update-icon-cache')
+makedepends=('icon-naming-utils' 'mate-common')
+options=(!strip !emptydirs)
+groups=('mate' 'mate-gtk3')
+source=("http://pub.mate-desktop.org/releases/${_ver}/${pkgname}-${pkgver}.tar.xz")
+sha1sums=('0dbf797182147d5a6915714eb4b172f4e4dec28f')
+install=${pkgname}.install
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure \
+ --prefix=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+ rm -f "${pkgdir}/usr/share/icons/mate/icon-theme.cache"
+}
Copied: mate-icon-theme/repos/community-staging-any/mate-icon-theme.install (from rev 135071, mate-icon-theme/trunk/mate-icon-theme.install)
===================================================================
--- community-staging-any/mate-icon-theme.install (rev 0)
+++ community-staging-any/mate-icon-theme.install 2015-06-09 09:48:57 UTC (rev 135072)
@@ -0,0 +1,12 @@
+post_install() {
+ gtk-update-icon-cache -q -t -f /usr/share/icons/mate
+ gtk-update-icon-cache -q -t -f /usr/share/icons/menta
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
More information about the arch-commits
mailing list