From b98d8ae9967676ae500d6af141b80b7684b95646 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Thu, 4 Sep 2014 23:57:47 -0300 Subject: mate-icon-theme-faenza: remove libre suffix and add complex pkgrel --- libre/mate-icon-theme-faenza/PKGBUILD | 40 +++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 libre/mate-icon-theme-faenza/PKGBUILD (limited to 'libre/mate-icon-theme-faenza/PKGBUILD') 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 +# Maintainer: André Silva + +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" +} -- cgit v1.2.3