pmaports/main/libaccounts-glib/APKBUILD
Luca Weiss 8c2a95dbe2
unity8: initial packaging (!27)
* Mir starts up and is able to display system settings
* x86_64 only for now, because at least ubuntu-app-test did not build
  on aarch64

Based on PureTryOut's work. Getting it to this stage was a huge effort
(as it shows in the package count: 111(!)). See the merge request for
details.

[skip ci]: this won't finish in CI; ollieparanoid made sure that
           everything builds for x86_64.
2019-02-13 21:47:29 +01:00

39 lines
1 KiB
Text

# Maintainer: Luca Weiss <luca@z3ntu.xyz>
pkgname=libaccounts-glib
pkgver=1.24
pkgrel=0
pkgdesc="GLib-based client library for the accounts database"
url="https://gitlab.com/accounts-sso/libaccounts-glib"
arch="x86_64"
license="LGPL-2.1"
depends=""
makedepends="meson glib-dev libxml2-dev sqlite-dev gobject-introspection-dev vala py3-gobject3 check-dev gtk-doc"
subpackages="$pkgname-dev"
source="https://gitlab.com/accounts-sso/$pkgname/-/archive/VERSION_$pkgver/$pkgname-VERSION_$pkgver.tar.gz"
builddir="$srcdir/$pkgname-VERSION_$pkgver"
options="!check" # Needs D-Bus server
prepare() {
default_prepare
mkdir "$builddir"/build
}
build() {
cd "$builddir"/build
meson \
--prefix=/usr \
--buildtype=release \
--sysconfdir=/etc ..
ninja
}
check() {
cd "$builddir"/build
ninja test
}
package() {
cd "$builddir"/build
DESTDIR="$pkgdir" ninja install
}
sha512sums="d4e6906f642c7a196cb42172f31345f58037d528950bee3af2b8cb388aea386056cbaa22f0e7c604a4e00038b231e9ee455f6a1d48f82344cfc0037ad7251b7c libaccounts-glib-VERSION_1.24.tar.gz"