void-packages/srcpkgs/libjodycode/template

28 lines
792 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://codeberg.org/jbruchon/libjodycode"
changelog="https://codeberg.org/jbruchon/libjodycode/raw/branch/master/CHANGES.txt"
distfiles="https://codeberg.org/jbruchon/libjodycode/archive/v${version}.tar.gz"
checksum=990a53248a5a410c7f26a6422d0a907d1b7c156efbf204a1faf4982614e243a9
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"
}
}