Skip to content
Snippets Groups Projects
Commit 3a20502f authored by Antonio Rojas's avatar Antonio Rojas
Browse files

Fix build (FS#71122)

parent a7e24f7a
No related branches found
Tags 2.6.0-1
No related merge requests found
......@@ -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')
prepare() {
mkdir -p build
mv $pkgname-*/ $pkgname
}
source=(https://gitlab.com/accounts-sso/libaccounts-glib/-/archive/VERSION_$pkgver/libaccounts-glib-VERSION_$pkgver.tar.gz)
sha256sums=('47d4b2a5cf4f17f52550aa65b34030fbd1a242e1a233f248a5871620e0ff4c11')
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"
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment