void-packages/srcpkgs/sdb/template

27 lines
689 B
Bash

# Template file for 'sdb'
pkgname=sdb
version=1.2.0
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="Juan RP <xtraeme@voidlinux.eu>"
license="LGPL-3.0-or-later"
homepage="https://radare.org"
distfiles="https://github.com/radare/sdb/archive/${version}.tar.gz"
checksum=7512f0e5a205937a11a5dbe0905eacb3b695c7fb71bb4b6d25b14706fa31a63f
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"
}
}