[arch-commits] Commit in gnome-clocks/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Tue Sep 27 20:33:26 UTC 2016
Date: Tuesday, September 27, 2016 @ 20:33:25
Author: heftig
Revision: 277172
3.22.0+2+g74a75f7-1
Modified:
gnome-clocks/trunk/PKGBUILD
----------+
PKGBUILD | 25 ++++++++++++++++++-------
1 file changed, 18 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-09-27 20:33:15 UTC (rev 277171)
+++ PKGBUILD 2016-09-27 20:33:25 UTC (rev 277172)
@@ -2,7 +2,7 @@
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
pkgname=gnome-clocks
-pkgver=3.20.2
+pkgver=3.22.0+2+g74a75f7
pkgrel=1
pkgdesc="Clocks applications for GNOME"
url="https://wiki.gnome.org/Apps/Clocks"
@@ -9,23 +9,34 @@
arch=(i686 x86_64)
license=(GPL)
depends=(gtk3 libcanberra libgweather gnome-desktop geoclue2 geocode-glib gsound)
-makedepends=(intltool vala gobject-introspection itstool)
+makedepends=(intltool vala gobject-introspection itstool yelp-tools git)
groups=(gnome-extra)
-source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/${pkgver:0:4}/${pkgname}-${pkgver}.tar.xz)
-sha256sums=('7db01207eb9632cec748772b859900313732eacca652753d771fd99a32713617')
+_commit=74a75f7926d56643a2b398f3763c7fa0b70d9ad7 # master
+source=("git://git.gnome.org/gnome-clocks#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
make
}
check() {
- cd $pkgname-$pkgver
+ cd $pkgname
make check
}
package() {
- cd $pkgname-$pkgver
+ cd $pkgname
make DESTDIR="$pkgdir" install
}
More information about the arch-commits
mailing list