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

Balló György bgyorgy at archlinux.org
Tue Apr 20 21:09:29 UTC 2021


    Date: Tuesday, April 20, 2021 @ 21:09:28
  Author: bgyorgy
Revision: 920378

upgpkg: gnome-flashback 3.40.0-1: Update to version 3.40.0

Modified:
  gnome-flashback/trunk/PKGBUILD

----------+
 PKGBUILD |   46 +++++++++++++---------------------------------
 1 file changed, 13 insertions(+), 33 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-04-20 20:51:23 UTC (rev 920377)
+++ PKGBUILD	2021-04-20 21:09:28 UTC (rev 920378)
@@ -1,53 +1,33 @@
 # Maintainer: Balló György <ballogyor+arch at gmail dot com>
 
 pkgname=gnome-flashback
-pkgver=3.38.0
+pkgver=3.40.0
 pkgrel=1
-pkgdesc="GNOME Flashback session"
+pkgdesc='GNOME Flashback session'
 arch=('x86_64')
-url="https://wiki.gnome.org/Projects/GnomeFlashback"
+url='https://wiki.gnome.org/Projects/GnomeFlashback'
 license=('GPL')
-depends=('gnome-bluetooth' 'gnome-panel' 'gnome-session' 'gnome-settings-daemon' 'gnome-themes-extra' 'libibus' 'metacity')
-makedepends=('autoconf-archive' 'git' 'intltool' 'python')
+depends=('gnome-bluetooth' 'gnome-panel' 'gnome-session' 'gnome-settings-daemon'
+         'gnome-themes-extra' 'libibus' 'libxkbfile' 'metacity')
+makedepends=('autoconf-archive' 'intltool' 'python')
 optdepends=('gnome-backgrounds: Default background'
             'gnome-control-center: System settings'
             'network-manager-applet: Network management')
-_commit=9dd97c98166b65b6dcf67b40da303b3506bd38f7  # tags/3.38.0^0
-source=("git+https://gitlab.gnome.org/GNOME/gnome-flashback.git#commit=$_commit"
-        "git+https://gitlab.gnome.org/GNOME/libgnome-volume-control.git"
-        gnome-flashback.pam)
-sha256sums=('SKIP'
-            'SKIP'
+source=("https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
+        'gnome-flashback.pam')
+sha256sums=('e03f33100f1982019c2e59bbdcd664549ec5caa0ef2d99e2c0e1272cea08bb3b'
             '7148b3b1773fa312d6cd14798338cc70cffb6df7504ff1787687edd0363138d2')
 
-pkgver() {
-  cd $pkgname
-  git describe --tags | sed 's/-/+/g'
-}
-
-prepare() {
-  cd $pkgname
-  git submodule init
-  git submodule set-url gvc/gvc "$srcdir/libgnome-volume-control"
-  git submodule update
-
-  NOCONFIGURE=1 ./autogen.sh
-}
-
 build() {
-  cd $pkgname
-  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib/$pkgname \
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib/$pkgname \
               --disable-schemas-compile --enable-compile-warnings=minimum
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
   make
 }
 
-check() {
-  cd $pkgname
-  make check
-}
-
 package() {
-  cd $pkgname
+  cd $pkgname-$pkgver
   make DESTDIR="$pkgdir" install
 
   # Install pam file for the screensaver



More information about the arch-commits mailing list