void-packages/srcpkgs/aml/template
2020-08-04 11:45:23 -04:00

30 lines
707 B
Bash

# Template file for 'aml'
pkgname=aml
version=0.1.0
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=50341861e9bb4eaaf11731941c276ef22b78e0e3d9b1442f6cf683f1b8e08bff
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"
}
}