[arch-commits] Commit in gnome-shell/trunk (PKGBUILD)
Jan de Groot
jgc at archlinux.org
Thu Sep 22 22:32:47 UTC 2016
Date: Thursday, September 22, 2016 @ 22:32:47
Author: jgc
Revision: 276861
upgpkg: gnome-shell 3.22.0+3+g3cd8dd0-1
Modified:
gnome-shell/trunk/PKGBUILD
----------+
PKGBUILD | 26 +++++++++++++++++---------
1 file changed, 17 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-09-22 22:15:14 UTC (rev 276860)
+++ PKGBUILD 2016-09-22 22:32:47 UTC (rev 276861)
@@ -3,7 +3,7 @@
# Contributor: Flamelab <panosfilip at gmail.com
pkgname=gnome-shell
-pkgver=3.20.4
+pkgver=3.22.0+3+g3cd8dd0
pkgrel=1
pkgdesc="The next generation GNOME Shell"
url="https://wiki.gnome.org/Projects/GnomeShell"
@@ -13,28 +13,36 @@
gnome-session gnome-settings-daemon gnome-themes-standard gsettings-desktop-schemas
libcanberra-pulse libcroco libgdm libsecret mutter nm-connection-editor
telepathy-logger telepathy-mission-control unzip gstreamer)
-makedepends=(intltool gtk-doc gnome-control-center evolution-data-server python gobject-introspection)
+makedepends=(intltool gtk-doc gnome-control-center evolution-data-server python gobject-introspection git gnome-common)
optdepends=('gnome-control-center: System settings'
'evolution-data-server: Evolution calendar integration')
groups=(gnome)
-source=(https://download.gnome.org/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz
+_commit=3cd8dd0f3295f2b66deceb1b98d446606b96ce05
+source=("git://git.gnome.org/gnome-shell#commit=$_commit"
nm-libexecdir.patch)
-sha256sums=('0c13eba5ecd3b516538815ab33765ae04bd6faf1549407e81f3bf17b08f2a94d'
+sha256sums=('SKIP'
'e5bb10ad2e5c3e0fde3d05babd1bfdda701e553e02d493f7e54cb7832ce7e607')
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/-/+/g'
+}
+
prepare() {
- cd $pkgname-$pkgver
+ cd $pkgname
# FS#30747 FS#32730 Problems due to libexecdir different from NM
patch -Np1 -i ../nm-libexecdir.patch
+
+ NOCONFIGURE=1 ./autogen.sh
}
-
+
build() {
- cd $pkgname-$pkgver
+ cd $pkgname
./configure --prefix=/usr --sysconfdir=/etc \
--libexecdir=/usr/lib/gnome-shell \
--localstatedir=/var --disable-static \
- --disable-schemas-compile
+ --disable-schemas-compile --enable-gtk-doc
# https://bugzilla.gnome.org/show_bug.cgi?id=655517
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
@@ -43,7 +51,7 @@
}
package() {
- cd $pkgname-$pkgver
+ cd $pkgname
make DESTDIR="$pkgdir" install
# Must exist; FS#37412
More information about the arch-commits
mailing list