void-packages/srcpkgs/sdb/template

27 lines
690 B
Bash

# Template file for 'sdb'
pkgname=sdb
version=1.4.1
revision=1
build_style=gnu-makefile
make_use_env=yes
hostmakedepends="pkg-config"
makedepends="vala-devel"
short_desc="Simple key-value database with JSON support"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-3.0-or-later"
homepage="https://radare.org"
distfiles="https://github.com/radare/sdb/archive/${version}.tar.gz"
checksum=79cb0a41f7511c0568c05d889960e5ae3f00d3f2d2d72343671f95f4cf4b3bd3
sdb-devel_package() {
depends="sdb>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/share
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}