[arch-commits] Commit in gnome-themes-standard/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Mon Oct 3 17:55:12 UTC 2016


    Date: Monday, October 3, 2016 @ 17:55:11
  Author: heftig
Revision: 277584

3.22.1-1

Modified:
  gnome-themes-standard/trunk/PKGBUILD

----------+
 PKGBUILD |   31 ++++++++++++++++++++-----------
 1 file changed, 20 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-10-03 16:41:01 UTC (rev 277583)
+++ PKGBUILD	2016-10-03 17:55:11 UTC (rev 277584)
@@ -2,24 +2,33 @@
 # Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
 
 pkgname=gnome-themes-standard
-pkgver=3.20.2
+pkgver=3.22.1
 pkgrel=1
-pkgdesc="Default themes for the GNOME desktop"
+pkgdesc="Standard Themes for GNOME Applications"
+url="https://git.gnome.org/browse/gnome-themes-standard"
 arch=(i686 x86_64)
-url="http://www.gnome.org"
 license=(GPL2)
 depends=(cantarell-fonts ttf-dejavu librsvg)
-makedepends=(intltool gtk2 gtk3)
+makedepends=(intltool gtk2 gtk3 gnome-common git)
 optdepends=('gtk-engines: HighContrast GTK2 theme')
 groups=(gnome)
-replaces=(gnome-themes)
-conflicts=(gnome-themes)
-options=('!emptydirs')
-source=(http://download.gnome.org/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
-sha256sums=('9d0d9c4b2c9f9008301c3c1878ebb95859a735b7fd4a6a518802b9637e4a7915')
+options=(!emptydirs)
+_commit=84a6ab0385d9ca5a4eb423f34e78361143aa2c9f  # tags/3.22.1^0
+source=("git://git.gnome.org/gnome-themes-standard#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
   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
   make
@@ -26,7 +35,7 @@
 }
 
 package() {
-  cd $pkgname-$pkgver
+  cd $pkgname
   make DESTDIR="${pkgdir}" install
 }
 



More information about the arch-commits mailing list