[arch-commits] Commit in libsignon-glib/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Mon Sep 17 22:06:40 UTC 2018
Date: Monday, September 17, 2018 @ 22:06:40
Author: arojas
Revision: 334806
Update to 2.0
Modified:
libsignon-glib/trunk/PKGBUILD
----------+
PKGBUILD | 23 ++++++++++-------------
1 file changed, 10 insertions(+), 13 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-09-17 21:45:54 UTC (rev 334805)
+++ PKGBUILD 2018-09-17 22:06:40 UTC (rev 334806)
@@ -3,18 +3,20 @@
# Contributor: Balló György <ballogyor+arch at gmail.com>
pkgname=libsignon-glib
-pkgver=1.15
-pkgrel=2
+pkgver=2.0
+pkgrel=1
pkgdesc='GLib-based client library for applications handling account authentication through the Online Accounts Single Sign-On service'
arch=(x86_64)
url='https://gitlab.com/accounts-sso/libsignon-glib'
license=(LGPL2.1)
depends=(signond)
-makedepends=(python-gobject gtk-doc gobject-introspection vala git)
+makedepends=(python-gobject gtk-doc gobject-introspection vala meson git)
source=("git+https://gitlab.com/accounts-sso/${pkgname}#tag=VERSION_$pkgver")
sha256sums=('SKIP')
prepare() {
+ mkdir -p build
+
cd $pkgname
git submodule init
git submodule update
@@ -21,17 +23,12 @@
}
build() {
- cd $pkgname
- ./autogen.sh
- ./configure \
- --prefix='/usr' \
- --localstatedir='/var' \
- --sysconfdir='/etc'
- make
+ cd build
+ arch-meson ../$pkgname -Dtests=false
+ ninja -j1
}
package() {
- cd $pkgname
-
- make DESTDIR="$pkgdir" install
+ cd build
+ DESTDIR="$pkgdir" ninja install
}
More information about the arch-commits
mailing list