void-packages/srcpkgs/libjodycode/template

28 lines
800 B
Bash

# Template file for 'libjodycode'
pkgname=libjodycode
version=3.1
revision=1
build_style=gnu-makefile
make_use_env=yes
short_desc="Shared code used by several utilities written by Jody Bruchon"
maintainer="cinerea0 <cinerea0@protonmail.com>"
license="MIT"
homepage="https://github.com/jbruchon/libjodycode"
changelog="https://raw.githubusercontent.com/jbruchon/libjodycode/master/CHANGES.txt"
distfiles="https://github.com/jbruchon/libjodycode/archive/refs/tags/v${version}.tar.gz"
checksum=c72974eb1d38873e06ea84b3d78990f87192f0113da5bd13fcac6bbc6a6e2184
post_install() {
vlicense LICENSE.txt
}
libjodycode-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove "usr/lib/*.a"
}
}