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

Jan de Groot jgc at archlinux.org
Tue Sep 20 09:54:08 UTC 2016


    Date: Tuesday, September 20, 2016 @ 09:54:08
  Author: jgc
Revision: 276730

upgpkg: adwaita-icon-theme 3.21.2+17+ge562774-1

Modified:
  adwaita-icon-theme/trunk/PKGBUILD

----------+
 PKGBUILD |   25 ++++++++++++++++++-------
 1 file changed, 18 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-09-20 09:44:00 UTC (rev 276729)
+++ PKGBUILD	2016-09-20 09:54:08 UTC (rev 276730)
@@ -2,26 +2,37 @@
 # Contributor: Jan de Groot <jgc at archlinux.org>
 
 pkgname=adwaita-icon-theme
-pkgver=3.20
-pkgrel=2
+pkgver=3.21.2+17+ge562774
+pkgrel=1
 pkgdesc="Adwaita icon theme"
 arch=(any)
 depends=('hicolor-icon-theme' 'gtk-update-icon-cache' 'librsvg')
-makedepends=('intltool' 'icon-naming-utils')
+makedepends=('intltool' 'gnome-common' 'git' 'gtk3')
 url="http://www.gnome.org"
 license=('GPL')
 groups=('gnome')
 options=('!emptydirs')
-source=(https://download.gnome.org/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
-sha256sums=('7a0a887349f340dd644032f89d81264b694c4b006bd51af1c2c368d431e7ae35')
+_commit=e562774e7d7a43ca4baaf6af47a2a2fc001f1db6
+source=("git://git.gnome.org/adwaita-icon-theme#commit=$_commit")
+sha256sums=('SKIP')
 
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+  NOCONFIGURE=1 ./autogen.sh
+}
+  
 build() {
-    cd "$pkgname-$pkgver"
+    cd $pkgname
     ./configure --prefix=/usr
     make
 }
 
 package() {
-    cd "$pkgname-$pkgver"
+    cd $pkgname
     make DESTDIR="$pkgdir" install
 }



More information about the arch-commits mailing list