void-packages/srcpkgs/sdb/template

26 lines
690 B
Bash

# Template file for 'sdb'
pkgname=sdb
version=1.3.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="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=e44ee7266a9f35cf81297739f9a41de89394166cc908494a4d5b7d81d6aedbc6
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"
}
}