void-packages/srcpkgs/libglob/template

27 lines
673 B
Bash

# Template file for 'libglob'
pkgname=libglob
version=1.0
revision=2
archs="*-musl"
build_style=gnu-makefile
short_desc="BSD glob(3) implementation for the musl C library"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="BSD-3-clause"
homepage="https://github.com/void-linux/libglob"
distfiles="https://github.com/void-linux/${pkgname}/archive/${version}.tar.gz"
checksum=4f1b204dad065689941c64828a92441fb316c9c7539b39525fa728125da65e22
post_install() {
vlicense LICENSE
}
libglob-devel_package() {
depends="${sourcepkg}-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/*.a
vmove usr/lib/*.so
}
}