void-packages/srcpkgs/libglibutil/template

34 lines
989 B
Bash

# Template file for 'libglibutil'
pkgname=libglibutil
version=1.0.79
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=4d689cb79f8ea061e46b89008370dc771b07164ee496850d9d56d9d85f1be1c3
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"
}
}