void-packages/srcpkgs/libjodycode/template

28 lines
794 B
Bash

# Template file for 'libjodycode'
pkgname=libjodycode
version=3.1.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=82717625b91f92ea4e7435798385762c6906835fa2cf2c80c9f83d6734bfddad
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"
}
}