void-packages/srcpkgs/pystring/template

26 lines
679 B
Bash

# Template file for 'pystring'
pkgname=pystring
version=1.1.3
revision=1
build_style=meson
short_desc="C++ functions matching interface/behavior of python strings"
maintainer="John <me@johnnynator.dev>"
license="BSD-2-Clause"
homepage="https://github.com/imageworks/pystring"
distfiles="https://github.com/imageworks/pystring/archive/refs/tags/v${version}.tar.gz"
checksum=358a56e756e701836b69a31c75d3d9d41c34d447cf7b3775bbd5620dcd3203d9
post_install() {
vlicense LICENSE
}
pystring-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}