# Template file for 'aml' pkgname=aml version=0.3.0 revision=1 build_style=meson hostmakedepends="pkg-config" short_desc="Another Main Loop" maintainer="Zach Dykstra " license="ISC" homepage="https://github.com/any1/aml" distfiles="https://github.com/any1/aml/archive/v${version}.tar.gz" checksum=cba1ca1689d4031faf37bb7a184559106b6d2f462ae8890a9fa16e3022ca1eb0 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" } }