diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-05-19 23:18:55 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-05-19 23:18:55 -0300 |
commit | 5ca9b6af153a3eba388a5d1b2659545f02df0466 (patch) | |
tree | 9eaaa584649ea5d92d7a7dba9bdb3107396d48d0 /libre/mate-icon-theme-faenza-libre/PKGBUILD | |
parent | f06feaf662c5d27457eeb9ef9c70c5712305738e (diff) | |
download | abslibre-5ca9b6af153a3eba388a5d1b2659545f02df0466.tar.gz abslibre-5ca9b6af153a3eba388a5d1b2659545f02df0466.tar.bz2 abslibre-5ca9b6af153a3eba388a5d1b2659545f02df0466.zip |
mate-icon-theme-faenza-libre: add new package to [libre]
Diffstat (limited to 'libre/mate-icon-theme-faenza-libre/PKGBUILD')
-rw-r--r-- | libre/mate-icon-theme-faenza-libre/PKGBUILD | 42 |
1 files changed, 42 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" +} |