void-packages/srcpkgs/libglibutil/template

34 lines
989 B
Bash

# Template file for 'libglibutil'
pkgname=libglibutil
version=1.0.74
revision=1
build_style=gnu-makefile
make_use_env=1
make_build_args="KEEP_SYMBOLS=1"
make_build_target="release pkgconfig"
make_check_target="test"
make_install_target="install-dev"
hostmakedepends="pkg-config"
makedepends="glib-devel"
short_desc="Library of glib utilities"
maintainer="Jami Kettunen <jami.kettunen@protonmail.com>"
license="BSD-3-Clause"
homepage="https://github.com/sailfishos/libglibutil"
changelog="https://raw.githubusercontent.com/sailfishos/libglibutil/master/debian/changelog"
distfiles="https://github.com/sailfishos/libglibutil/archive/refs/tags/${version}.tar.gz"
checksum=4d8ae1bed701613cd053c5ee073ecd3123537782eaaddebd47fe1e43ab27d825
post_install() {
vlicense LICENSE
}
libglibutil-devel_package() {
depends="${sourcepkg}>=${version}_${revision} glib-devel"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}