summaryrefslogtreecommitdiff
path: root/libre/mate-icon-theme-faenza
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-09-04 23:57:47 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-09-04 23:57:47 -0300
commitb98d8ae9967676ae500d6af141b80b7684b95646 (patch)
tree77496330eae76c0ed977455cdeefd224fdbdb734 /libre/mate-icon-theme-faenza
parentaed41d3442274f5c5dccff6f51fdbbe19c379407 (diff)
downloadabslibre-b98d8ae9967676ae500d6af141b80b7684b95646.tar.gz
abslibre-b98d8ae9967676ae500d6af141b80b7684b95646.tar.bz2
abslibre-b98d8ae9967676ae500d6af141b80b7684b95646.zip
mate-icon-theme-faenza: remove libre suffix and add complex pkgrel
Diffstat (limited to 'libre/mate-icon-theme-faenza')
-rw-r--r--libre/mate-icon-theme-faenza/PKGBUILD40
-rw-r--r--libre/mate-icon-theme-faenza/mate-icon-theme-faenza.install13
2 files changed, 53 insertions, 0 deletions
diff --git a/libre/mate-icon-theme-faenza/PKGBUILD b/libre/mate-icon-theme-faenza/PKGBUILD
new file mode 100644
index 000000000..9cfd15900
--- /dev/null
+++ b/libre/mate-icon-theme-faenza/PKGBUILD
@@ -0,0 +1,40 @@
+# Maintainer (Arch): Martin Wimpress <code@flexion.org>
+# Maintainer: André Silva <emulatorman@parabola.nu>
+
+pkgname=mate-icon-theme-faenza
+pkgver=1.8.0
+pkgrel=1.parabola1
+pkgdesc="Faenza icon theme for MATE, without nonfree distros and application icons"
+url="http://mate-desktop.org"
+arch=('any')
+license=('LGPL')
+replaces=(${pkgname}-libre)
+conflicts=(${pkgname}-libre)
+depends=('hicolor-icon-theme' 'gtk-update-icon-cache')
+makedepends=('icon-naming-utils' 'mate-common')
+options=(!strip)
+groups=('mate-extra')
+source=("http://pub.mate-desktop.org/releases/1.8/${pkgname}-${pkgver}.tar.xz")
+sha1sums=('60ecb21261d969e60925254cb435a4a877540d4c')
+install=${pkgname}.install
+
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ # remove nonfree distros and application logos
+ for nonfree in debian fedora mandriva redhat suse ubuntu alien-arena flash rpmdrake teamviewer novell skype; do
+ find -name *$nonfree* -delete
+ done
+}
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure \
+ --prefix=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+ rm -f "${pkgdir}/usr/share/icons/matefaenza/icon-theme.cache"
+}
diff --git a/libre/mate-icon-theme-faenza/mate-icon-theme-faenza.install b/libre/mate-icon-theme-faenza/mate-icon-theme-faenza.install
new file mode 100644
index 000000000..baa61d116
--- /dev/null
+++ b/libre/mate-icon-theme-faenza/mate-icon-theme-faenza.install
@@ -0,0 +1,13 @@
+post_install() {
+ gtk-update-icon-cache -q -t -f /usr/share/icons/matefaenza
+ gtk-update-icon-cache -q -t -f /usr/share/icons/matefaenzadark
+ gtk-update-icon-cache -q -t -f /usr/share/icons/matefaenzagray
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}