[arch-commits] Commit in mate-icon-theme-faenza/trunk (PKGBUILD)

Martin Wimpress flexiondotorg at archlinux.org
Tue May 12 10:40:31 UTC 2015


    Date: Tuesday, May 12, 2015 @ 12:40:29
  Author: flexiondotorg
Revision: 133292

upgpkg: mate-icon-theme-faenza 1.9.90-1 - New upstream release

Modified:
  mate-icon-theme-faenza/trunk/PKGBUILD

----------+
 PKGBUILD |   27 +++++++++++++++++++--------
 1 file changed, 19 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-05-12 07:57:04 UTC (rev 133291)
+++ PKGBUILD	2015-05-12 10:40:29 UTC (rev 133292)
@@ -1,22 +1,33 @@
 # Maintainer : Martin Wimpress <code at flexion.org>
 
+_ver=1.9
 pkgname=mate-icon-theme-faenza
-pkgver=1.8.0
+pkgver=${_ver}.90
 pkgrel=1
 pkgdesc="Faenza icon theme for MATE"
 url="http://mate-desktop.org"
 arch=('any')
 license=('LGPL')
-depends=('hicolor-icon-theme' 'gtk-update-icon-cache')
-makedepends=('icon-naming-utils' 'mate-common')
+depends=('gtk-update-icon-cache')
+makedepends=('git' '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')
+groups=('mate-extra' 'mate-extra-gtk3')
+source=("${pkgname}"::"git+https://github.com/mate-desktop/${pkgname}.git")
+sha1sums=('SKIP')
 install=${pkgname}.install
 
+pkgver() {
+    cd "${srcdir}/${pkgname}"
+    printf "%s.%s.%s" "${_ver}.90"
+}
+
+prepare() {
+    cd "${srcdir}/${pkgname}"
+    NOCONFIGURE=1 ./autogen.sh
+}
+
 build() {
-    cd "${srcdir}/${pkgname}-${pkgver}"
+    cd "${srcdir}/${pkgname}"
     ./configure \
         --prefix=/usr
     make
@@ -23,7 +34,7 @@
 }
 
 package() {
-    cd "${srcdir}/${pkgname}-${pkgver}"
+    cd "${srcdir}/${pkgname}"
     make DESTDIR="${pkgdir}" install
     rm -f "${pkgdir}/usr/share/icons/matefaenza/icon-theme.cache"
 }



More information about the arch-commits mailing list