diff options
Diffstat (limited to 'libre/mate-icon-theme-faenza/PKGBUILD')
-rw-r--r-- | libre/mate-icon-theme-faenza/PKGBUILD | 40 |
1 files changed, 40 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" +} |