diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-09-04 23:57:47 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-09-04 23:57:47 -0300 |
commit | b98d8ae9967676ae500d6af141b80b7684b95646 (patch) | |
tree | 77496330eae76c0ed977455cdeefd224fdbdb734 /libre/mate-icon-theme-faenza/PKGBUILD | |
parent | aed41d3442274f5c5dccff6f51fdbbe19c379407 (diff) |
mate-icon-theme-faenza: remove libre suffix and add complex pkgrel
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" +} |