[arch-commits] Commit in gnome-contacts/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Thu Mar 15 16:30:00 UTC 2018
Date: Thursday, March 15, 2018 @ 16:29:59
Author: heftig
Revision: 319323
3.28-2
Modified:
gnome-contacts/trunk/PKGBUILD
----------+
PKGBUILD | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-03-15 16:22:38 UTC (rev 319322)
+++ PKGBUILD 2018-03-15 16:29:59 UTC (rev 319323)
@@ -4,7 +4,7 @@
pkgname=gnome-contacts
pkgver=3.28
-pkgrel=1
+pkgrel=2
pkgdesc="Contacts Manager for GNOME"
url="https://wiki.gnome.org/Apps/Contacts"
arch=(x86_64)
@@ -13,7 +13,7 @@
makedepends=(vala gobject-introspection git meson)
groups=(gnome)
_commit=419df17099de4accd660161ad1e5e6c999d2f3af # tags/3.28^0
-source=("git+https://git.gnome.org/browse/gnome-contacts#commit=$_commit")
+source=("git+https://gitlab.gnome.org/GNOME/gnome-contacts.git#commit=$_commit")
sha256sums=('SKIP')
pkgver() {
@@ -21,11 +21,20 @@
git describe --tags | sed 's/-/+/g'
}
+prepare() {
+ cd $pkgname
+}
+
build() {
arch-meson $pkgname build
ninja -C build
}
+check() {
+ cd build
+ meson test
+}
+
package() {
DESTDIR="$pkgdir" ninja -C build install
}
More information about the arch-commits
mailing list