[arch-commits] Commit in geary/trunk (PKGBUILD)
Balló György
bgyorgy at archlinux.org
Thu Feb 9 17:10:33 UTC 2017
Date: Thursday, February 9, 2017 @ 17:10:32
Author: bgyorgy
Revision: 211539
upgpkg: geary 0.11.3+711+g4e27949d-1
The stable version of geary uses webkitgtk, which is insecure. Switch to git snapshot, which uses webkit2gtk.
Modified:
geary/trunk/PKGBUILD
----------+
PKGBUILD | 22 ++++++++++++++--------
1 file changed, 14 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-02-09 17:06:03 UTC (rev 211538)
+++ PKGBUILD 2017-02-09 17:10:32 UTC (rev 211539)
@@ -4,7 +4,7 @@
# Contributor: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
pkgname=geary
-pkgver=0.11.3
+pkgver=0.11.3+711+g4e27949d
pkgrel=1
pkgdesc='A lightweight email client for the GNOME desktop'
arch=('i686' 'x86_64')
@@ -11,14 +11,20 @@
url='http://www.yorba.org/projects/geary/'
license=('GPL3')
depends=('gnome-keyring' 'gmime' 'libcanberra' 'libgee' 'libnotify' 'librsvg'
- 'webkitgtk')
+ 'webkit2gtk')
makedepends=('cmake' 'gnome-doc-utils' 'gobject-introspection' 'intltool'
- 'vala')
-source=("https://download.gnome.org/sources/geary/${pkgver%.?}/geary-${pkgver}.tar.xz")
-sha256sums=('419e9875c81d00e990aab61d419e64ca925928f046af88362d9029a7ba8c82e4')
+ 'vala' 'git')
+_commit=4e27949d872a8be6c9f8ea5d1ab607964c672f2a # master
+source=("git+https://git.gnome.org/browse/geary#commit=$_commit")
+sha256sums=('SKIP')
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/^geary-//;s/-/+/g' | sed 's/0.11.0/0.11.3/'
+}
+
prepare() {
- cd geary-${pkgver}
+ cd $pkgname
if [[ -d build ]]; then
rm -rf build
@@ -27,7 +33,7 @@
}
build() {
- cd geary-${pkgver}/build
+ cd $pkgname/build
cmake .. \
-DCMAKE_INSTALL_PREFIX='/usr' \
@@ -39,7 +45,7 @@
}
package() {
- cd geary-${pkgver}/build
+ cd $pkgname/build
make DESTDIR="${pkgdir}" install
}
More information about the arch-commits
mailing list