[arch-commits] Commit in libaccounts-glib/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Mon Jun 7 16:45:58 UTC 2021
Date: Monday, June 7, 2021 @ 16:45:58
Author: arojas
Revision: 417295
Fix build (FS#71122)
Modified:
libaccounts-glib/trunk/PKGBUILD
----------+
PKGBUILD | 28 +++++++++++-----------------
1 file changed, 11 insertions(+), 17 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-06-07 15:19:00 UTC (rev 417294)
+++ PKGBUILD 2021-06-07 16:45:58 UTC (rev 417295)
@@ -4,33 +4,27 @@
pkgname=libaccounts-glib
pkgver=1.25
-pkgrel=3
-pkgdesc="Glib-based client library for accessing the online accounts database"
+pkgrel=4
+pkgdesc='Glib-based client library for accessing the online accounts database'
arch=(x86_64)
-url="https://gitlab.com/accounts-sso/libaccounts-glib"
+url='https://gitlab.com/accounts-sso/libaccounts-glib'
license=(LGPL)
depends=(dbus-glib libxml2 sqlite)
makedepends=(python-gobject gobject-introspection vala meson check)
-source=($pkgname-$pkgver.tar.gz::"https://gitlab.com/accounts-sso/libaccounts-glib/repository/archive.tar.gz?ref=VERSION_$pkgver")
-sha256sums=('02afd471d77c49c400a4956cb1fb66eed8e33f42ccee634c04ffe64c3c7a00e9')
+source=(https://gitlab.com/accounts-sso/libaccounts-glib/-/archive/VERSION_$pkgver/libaccounts-glib-VERSION_$pkgver.tar.gz)
+sha256sums=('47d4b2a5cf4f17f52550aa65b34030fbd1a242e1a233f248a5871620e0ff4c11')
-prepare() {
- mkdir -p build
- mv $pkgname-*/ $pkgname
-}
-
build() {
- cd build
- arch-meson ../$pkgname -Dtests=false
- ninja
+ meson $pkgname-VERSION_$pkgver build \
+ -Dtests=false \
+ -Dprefix=/usr
+ meson compile -C build
}
check() {
- cd build
- ninja test || true
+ meson test -C build || true
}
package() {
- cd build
- DESTDIR="$pkgdir" ninja install
+ meson install -C build --destdir "$pkgdir"
}
More information about the arch-commits
mailing list