vp-build/srcpkgs/aml/template

31 lines
707 B
Bash

# Template file for 'aml'
pkgname=aml
version=0.2.1
revision=1
build_style=meson
hostmakedepends="pkg-config"
short_desc="Another Main Loop"
maintainer="Zach Dykstra <dykstra.zachary@gmail.com>"
license="ISC"
homepage="https://github.com/any1/aml"
distfiles="https://github.com/any1/aml/archive/v${version}.tar.gz"
checksum=c5af3f690b64a7f4dc7141b11f23a4bef190a921f9d71ce70ce0698b5ec58eb0
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
makedepends+=" musl-legacy-compat"
fi
post_install() {
vlicense COPYING
}
aml-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}