diff options
Diffstat (limited to 'libre')
-rw-r--r-- | libre/mate-icon-theme-faenza-libre/PKGBUILD | 42 | ||||
-rw-r--r-- | libre/mate-icon-theme-faenza-libre/mate-icon-theme-faenza.install | 13 |
2 files changed, 55 insertions, 0 deletions
diff --git a/libre/mate-icon-theme-faenza-libre/PKGBUILD b/libre/mate-icon-theme-faenza-libre/PKGBUILD new file mode 100644 index 000000000..d003cad23 --- /dev/null +++ b/libre/mate-icon-theme-faenza-libre/PKGBUILD @@ -0,0 +1,42 @@ +# Maintainer (Arch): Martin Wimpress <code@flexion.org> +# Maintainer: André Silva <emulatorman@parabola.nu> + +_pkgname=mate-icon-theme-faenza +pkgname=mate-icon-theme-faenza-libre +pkgver=1.8.0 +pkgrel=1 +pkgdesc="Faenza icon theme for MATE, without nonfree system logos" +url="http://mate-desktop.org" +arch=('any') +license=('LGPL') +replaces=($_pkgname) +conflicts=($_pkgname) +provides=($_pkgname=$pkgver) +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 software logos + for nonfree in debian fedora mandriva redhat suse ubuntu alien-arena flash rpmdrake teamviewer novell skype zsnes; 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-libre/mate-icon-theme-faenza.install b/libre/mate-icon-theme-faenza-libre/mate-icon-theme-faenza.install new file mode 100644 index 000000000..baa61d116 --- /dev/null +++ b/libre/mate-icon-theme-faenza-libre/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 +} |