summaryrefslogtreecommitdiff
path: root/distro/archlinux
diff options
context:
space:
mode:
Diffstat (limited to 'distro/archlinux')
-rw-r--r--distro/archlinux/PKGBUILD26
-rw-r--r--distro/archlinux/mate-icon-theme.install11
2 files changed, 37 insertions, 0 deletions
diff --git a/distro/archlinux/PKGBUILD b/distro/archlinux/PKGBUILD
new file mode 100644
index 0000000..7592aff
--- /dev/null
+++ b/distro/archlinux/PKGBUILD
@@ -0,0 +1,26 @@
+pkgname=mate-icon-theme
+pkgver=2011.11.16
+pkgrel=1
+pkgdesc="MATE icon theme"
+arch=('any')
+license=('GPL')
+depends=('hicolor-icon-theme' 'icon-naming-utils' 'gtk-update-icon-cache')
+makedepends=('intltool')
+url="http://matsusoft.com.ar/projects"
+groups=('mate')
+source=(http://sourceforge.net/projects/matede/files/${pkgver}/${pkgname}.tar.gz/download)
+sha256sums=('23ca96e7e1c86afb5538a3b7e504ce03ddd5ffbf2ef7a7ab1e368208bfef50a4')
+install=mate-icon-theme.install
+
+build() {
+ cd "${srcdir}/${pkgname}"
+ ./configure --prefix=/usr || return 1
+ make || return 1
+}
+
+package() {
+ cd "${srcdir}/${pkgname}"
+ make DESTDIR="${pkgdir}" install
+ #don't include icon cache
+ rm -f "${pkgdir}/usr/share/icons/mate/icon-theme.cache"
+}
diff --git a/distro/archlinux/mate-icon-theme.install b/distro/archlinux/mate-icon-theme.install
new file mode 100644
index 0000000..b510909
--- /dev/null
+++ b/distro/archlinux/mate-icon-theme.install
@@ -0,0 +1,11 @@
+post_install() {
+ gtk-update-icon-cache -q -t -f usr/share/icons/mate
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}