[arch-commits] Commit in gnome-flashback/trunk (PKGBUILD)
Balló György
bgyorgy at archlinux.org
Sat Mar 24 14:45:40 UTC 2018
Date: Saturday, March 24, 2018 @ 14:45:39
Author: bgyorgy
Revision: 311947
upgpkg: gnome-flashback 3.26.0+33+g78fd6a1-1
Update to latest git snapshot
Modified:
gnome-flashback/trunk/PKGBUILD
----------+
PKGBUILD | 39 ++++++++++++++++++++++++++++++---------
1 file changed, 30 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-03-24 14:37:11 UTC (rev 311946)
+++ PKGBUILD 2018-03-24 14:45:39 UTC (rev 311947)
@@ -2,29 +2,50 @@
# Maintainer: Balló György <ballogyor+arch at gmail dot com>
pkgname=gnome-flashback
-pkgver=3.26.0
-pkgrel=2
+pkgver=3.26.0+33+g78fd6a1
+pkgrel=1
pkgdesc="GNOME Flashback session"
arch=('x86_64')
url="https://wiki.gnome.org/Projects/GnomeFlashback"
license=('GPL')
-depends=('gnome-bluetooth' 'gnome-panel' 'gnome-session' 'gnome-settings-daemon' 'gnome-themes-standard' 'libibus' 'metacity' 'nautilus')
-makedepends=('intltool')
+depends=('gnome-bluetooth' 'gnome-panel' 'gnome-session' 'gnome-settings-daemon' 'gnome-themes-standard' 'libibus' 'metacity')
+makedepends=('autoconf-archive' 'git' 'intltool' 'python')
optdepends=('gnome-backgrounds: Default background'
'gnome-control-center: System settings'
'gnome-screensaver: Lock screen'
'network-manager-applet: Network management')
-source=(https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
-sha256sums=('64028d39b8326bee4af7c50357fd97aa0c46995d3c380ca52174ef42eb5a5a03')
+_commit=78fd6a1d90f54d1241256076adf441249d842438 # master
+source=("git+https://git.gnome.org/browse/gnome-flashback#commit=$_commit"
+ "git+https://git.gnome.org/browse/libgnome-volume-control")
+sha256sums=('SKIP'
+ 'SKIP')
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+ cd $pkgname
+ git config --local submodule.gnome-flashback/libsound-applet/gvc.url "$srcdir/libgnome-volume-control"
+ git submodule update --init
+
+ NOCONFIGURE=1 ./autogen.sh
+}
+
+check() {
+ cd $pkgname
+ make check
+}
+
build() {
- cd $pkgname-$pkgver
+ cd $pkgname
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib/$pkgname \
- --disable-schemas-compile
+ --disable-schemas-compile --enable-compile-warnings=minimum --enable-gtk-doc
make
}
package() {
- cd $pkgname-$pkgver
+ cd $pkgname
make DESTDIR="$pkgdir" install
}
More information about the arch-commits
mailing list