35 lines
1.2 KiB
Bash
35 lines
1.2 KiB
Bash
# Template file for 'libaccounts-glib'
|
|
pkgname=libaccounts-glib
|
|
version=1.24
|
|
revision=4
|
|
wrksrc="${pkgname}-VERSION_${version}-8948717702424ce15f4e23e5db2c8ce0799ec120"
|
|
build_style=meson
|
|
build_helper="gir"
|
|
hostmakedepends="gtk-doc pkg-config python3-gobject-devel glib-devel gobject-introspection
|
|
vala"
|
|
makedepends="sqlite-devel libxml2-devel libglib-devel python3-gobject-devel check-devel"
|
|
short_desc="GLib-based client library for the accounts database"
|
|
maintainer="John Rowley <enterthevoid@codesector.co>"
|
|
license="LGPL-2.1-only"
|
|
homepage="https://gitlab.com/accounts-sso/libaccounts-glib"
|
|
distfiles="https://gitlab.com/accounts-sso/${pkgname}/repository/archive.tar.gz?ref=VERSION_${version}>${pkgname}-${version}.tar.gz"
|
|
checksum=b0c52ddbd0305a37395890c61ec9ca9b389a3ee923a4364640205cf798a92f56
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
# Remove docs. During install of package, it will try
|
|
# to run target binary with host, which causes exec error
|
|
pre_build() {
|
|
vsed -e '/docs/d' -i meson.build
|
|
}
|
|
fi
|
|
|
|
libaccounts-glib-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/*.so
|
|
vmove usr/lib/pkgconfig
|
|
}
|
|
}
|