void-packages/srcpkgs/libaccounts-glib/template

27 lines
1.0 KiB
Bash

# Template file for 'libaccounts-glib'
pkgname=libaccounts-glib
version=1.24
revision=1
wrksrc="${pkgname}-VERSION_${version}-8948717702424ce15f4e23e5db2c8ce0799ec120"
build_style=meson
hostmakedepends="gtk-doc pkg-config glib-devel gobject-introspection vala"
makedepends="sqlite-devel libxml2-devel libglib-devel python-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
nocross="Hard depends on both gobject-introspection & python-gobject"
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
}
}