summaryrefslogtreecommitdiff
path: root/libre/mate-icon-theme-faenza-libre/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-05-19 23:18:55 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-05-19 23:18:55 -0300
commit5ca9b6af153a3eba388a5d1b2659545f02df0466 (patch)
tree9eaaa584649ea5d92d7a7dba9bdb3107396d48d0 /libre/mate-icon-theme-faenza-libre/PKGBUILD
parentf06feaf662c5d27457eeb9ef9c70c5712305738e (diff)
downloadabslibre-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/PKGBUILD42
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"
+}