33 lines
896 B
Bash
33 lines
896 B
Bash
# Template file for 'libglibutil'
|
|
pkgname=libglibutil
|
|
version=1.0.67
|
|
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"
|
|
distfiles="https://github.com/sailfishos/libglibutil/archive/refs/tags/${version}.tar.gz"
|
|
checksum=622f7d420e3f95ee7237b65c17495fe8d4cda1ed0cb68e0794f63c57034e1401
|
|
|
|
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"
|
|
}
|
|
}
|