void-packages/srcpkgs/libgbinder/template

34 lines
1.0 KiB
Bash

# Template file for 'libgbinder'
pkgname=libgbinder
version=1.1.34
revision=1
build_style=gnu-makefile
make_use_env=1
make_build_args="KEEP_SYMBOLS=1"
make_build_target="release pkgconfig"
make_install_target="install-dev"
make_check_target="test"
hostmakedepends="pkg-config bison flex"
makedepends="libglibutil-devel"
short_desc="GLib-style interface to binder (Android IPC mechanism)"
maintainer="Jami Kettunen <jami.kettunen@protonmail.com>"
license="BSD-3-Clause"
homepage="https://github.com/mer-hybris/libgbinder"
changelog="https://raw.githubusercontent.com/mer-hybris/libgbinder/master/debian/changelog"
distfiles="https://github.com/mer-hybris/libgbinder/archive/refs/tags/${version}.tar.gz"
checksum=f9150de954a3f15c863e7b60816dacf68147ae510b3ca0e49dbb24ba4b9e35dc
post_install() {
vlicense LICENSE
}
libgbinder-devel_package() {
depends="${sourcepkg}>=${version}_${revision} libglibutil-devel"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}