void-packages/srcpkgs/libaccounts-glib/template

29 lines
1001 B
Bash

# Template file for 'libaccounts-glib'
pkgname=libaccounts-glib
version=1.23
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=b4686af19b86cbedc0eb6a00aceee70f2c61254013d2cadd8aba15e9c540fff7
hostmakedepends="gtk-doc autoconf automake libtool pkg-config glib-devel"
makedepends="sqlite-devel libxml2-devel libglib-devel"
wrksrc="${pkgname}-VERSION_${version}-8d14b10652b2fe6c25d8ad8334e2d5023d254313"
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
}
}