void-packages/srcpkgs/libglob/template

27 lines
806 B
Bash

# Template file for 'libglob'
pkgname=libglob
version=1.0
revision=2
build_style=gnu-makefile
only_for_archs="aarch64-musl armv6l-musl armv7l-musl i686-musl mips-musl mipshf-musl mipsel-musl mipselhf-musl x86_64-musl ppc64le-musl ppc64-musl"
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
}
}