[arch-commits] Commit in gnome-applets/trunk (PKGBUILD)
Balló György
bgyorgy at archlinux.org
Tue Sep 11 10:20:59 UTC 2018
Date: Tuesday, September 11, 2018 @ 10:20:58
Author: bgyorgy
Revision: 379627
upgpkg: gnome-applets 3.30.0-1
Update to new version
Modified:
gnome-applets/trunk/PKGBUILD
----------+
PKGBUILD | 25 ++++++++++++++++++-------
1 file changed, 18 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-09-11 10:07:28 UTC (rev 379626)
+++ PKGBUILD 2018-09-11 10:20:58 UTC (rev 379627)
@@ -3,7 +3,7 @@
# Contributor: Jan de Groot <jgc at archlinux.org>
pkgname=gnome-applets
-pkgver=3.28.0
+pkgver=3.30.0
pkgrel=1
pkgdesc="Small applications for the GNOME Panel"
arch=('x86_64')
@@ -10,19 +10,30 @@
url="https://wiki.gnome.org/Projects/GnomeApplets"
license=('GPL')
depends=('gnome-panel' 'libgtop' 'tracker' 'cpupower' 'upower')
-makedepends=('intltool' 'itstool' 'gnome-settings-daemon' 'python')
-source=(https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
-sha256sums=('b0f823cc54c55ec02393109386ed33e2ea13edd0218bd14aed2c9fb273bca671')
+makedepends=('autoconf-archive' 'git' 'gnome-settings-daemon' 'intltool' 'python' 'yelp-tools')
+_commit=ac51b5ea297cf9239d718b4776e92ce4afc82470 # tags/3.30.0^0
+source=("git+https://gitlab.gnome.org/GNOME/gnome-applets.git#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-maintainer-mode
+ --disable-schemas-compile --enable-compile-warnings=minimum
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}
package() {
- cd $pkgname-$pkgver
+ cd $pkgname
make DESTDIR="$pkgdir" install
}
More information about the arch-commits
mailing list