void-packages/srcpkgs/musl-rpmatch/template
Enno Boland f40cd77686 srcpkgs: remove pullmoll from maintainers field. 😢
Set them to Orphaned for now.

If you'd like to pick up a package, feel free.
2021-04-10 16:34:44 +02:00

34 lines
909 B
Bash

# Template file for 'musl-rpmatch'
pkgname=musl-rpmatch
version=1.0
revision=2
build_style=gnu-configure
configure_args="--enable-shared --enable-static"
hostmakedepends="automake libtool gettext-devel"
makedepends="gettext-devel"
short_desc="Implementation of rpmatch(3) for musl libc"
maintainer="Orphaned <orphan@voidlinux.org>"
license="3-clause-BSD"
homepage="https://github.com/pullmoll/musl-rpmatch"
distfiles="https://github.com/pullmoll/musl-rpmatch/archive/v${version}.tar.gz"
checksum=dcbd41909bd69eaeedd20f03435b165406b514465249186ff1ca68d04fd35953
pre_configure() {
./bootstrap.sh
}
post_install() {
vinstall musl-rpmatch.pc 644 usr/lib/pkgconfig
vlicense COPYING
}
musl-rpmatch-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/*.a
vmove usr/lib/pkgconfig
}
}