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

Jan Steffens heftig at archlinux.org
Fri Mar 16 10:11:56 UTC 2018


    Date: Friday, March 16, 2018 @ 10:11:56
  Author: heftig
Revision: 308839

3.26.0+135+g8779d8b39-1

Modified:
  gnome-panel/trunk/PKGBUILD

----------+
 PKGBUILD |   27 +++++++++++++++++++--------
 1 file changed, 19 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-03-16 10:07:09 UTC (rev 308838)
+++ PKGBUILD	2018-03-16 10:11:56 UTC (rev 308839)
@@ -3,23 +3,34 @@
 # Contributor: Jan de Groot <jgc at archlinux.org>
 
 pkgname=gnome-panel
-pkgver=3.26.0
-pkgrel=2
+pkgver=3.26.0+135+g8779d8b39
+pkgrel=1
 pkgdesc="Panel of GNOME Flashback"
 arch=('x86_64')
 url="https://wiki.gnome.org/Projects/GnomePanel"
 license=('GPL')
 depends=('evolution-data-server' 'gnome-desktop' 'gnome-menus' 'libgdm' 'libwnck3' 'nautilus' 'polkit')
-makedepends=('intltool' 'itstool' 'python')
+makedepends=('intltool' 'itstool' 'python' 'git' 'gtk-doc' 'yelp-tools' 'autoconf-archive')
 optdepends=('alacarte: Main menu editor'
             'gnome-applets: Extra applets for the panel')
-source=(https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
-sha256sums=('ada88f8c7c55ab5f8b1879efe9276c45abedf5db9c317c1a3616877f6ed76271')
+_commit=8779d8b39cd821835cf7934c30c25b28e9dc38e0  # master
+source=("git+https://git.gnome.org/browse/gnome-panel#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 --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib/$pkgname \
-              --disable-schemas-compile
+              --disable-schemas-compile --enable-compile-warnings=minimum --enable-gtk-doc
 
   #https://bugzilla.gnome.org/show_bug.cgi?id=656231
   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
@@ -28,6 +39,6 @@
 }
 
 package() {
-  cd $pkgname-$pkgver
+  cd $pkgname
   make DESTDIR="$pkgdir" install
 }



More information about the arch-commits mailing list