[arch-commits] Commit in gnome-backgrounds/repos (2 files)

Jan de Groot jgc at archlinux.org
Wed Apr 5 14:55:36 UTC 2017


    Date: Wednesday, April 5, 2017 @ 14:55:35
  Author: jgc
Revision: 292158

archrelease: copy trunk to gnome-unstable-any

Added:
  gnome-backgrounds/repos/gnome-unstable-any/
  gnome-backgrounds/repos/gnome-unstable-any/PKGBUILD
    (from rev 292157, gnome-backgrounds/trunk/PKGBUILD)

----------+
 PKGBUILD |   41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

Copied: gnome-backgrounds/repos/gnome-unstable-any/PKGBUILD (from rev 292157, gnome-backgrounds/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-any/PKGBUILD	                        (rev 0)
+++ gnome-unstable-any/PKGBUILD	2017-04-05 14:55:35 UTC (rev 292158)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=gnome-backgrounds
+pkgver=3.24.0+2+g755b6f9
+pkgrel=1
+pkgdesc="Background images and data for GNOME"
+arch=(any)
+makedepends=('intltool' 'git' 'glib2' 'gnome-common')
+url="https://git.gnome.org/browse/gnome-backgrounds"
+license=('GPL')
+groups=('gnome')
+_commit=755b6f9ec3e873a11b967b6d5220124d94a5a053  # master
+source=("git+https://git.gnome.org/browse/gnome-backgrounds#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+  # Fix version
+  sed -i -e 's/3.22.1/3.24.0/' configure.ac
+  git tag -f 3.24.0 78d2661d44027f4358f021baf510e51b64b465ed 
+
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+  cd $pkgname
+  ./configure --prefix=/usr --sysconfdir=/etc \
+      --localstatedir=/var
+  make
+}
+
+package() {
+  cd $pkgname
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list