void-packages/srcpkgs/libaccounts-glib/template

29 lines
1003 B
Bash

# Template file for 'libaccounts-glib'
pkgname=libaccounts-glib
version=1.21
revision=1
build_style=gnu-configure
short_desc="GLib-based client library for the accounts database"
maintainer="John Rowley <enterthevoid@codesector.co>"
license="LGPL-2.1"
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="27cb75f3f2f0ce736b77f0fd0432f8d565297f0735846a2862577eadaec92488"
hostmakedepends="gtk-doc autoconf automake libtool pkg-config glib-devel"
makedepends="sqlite-devel libxml2-devel libglib-devel"
wrksrc="${pkgname}-VERSION_${version}-00254a604a7c7bd38c41794a80ad8930e90f21aa"
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
}
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
}
}