# Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=icingaweb2-module-incubator _module=${pkgname/*-/} pkgver=0.20.0 pkgrel=0 pkgdesc="Bleeding edge libraries useful for Icinga Web 2 modules" url="https://github.com/Icinga/icingaweb2-module-incubator" arch="noarch !armhf !armv7 !s390x !x86" license="MIT" options="!check" _php=php81 depends="icingaweb2" pkggroups="icingaweb2" subpackages="$pkgname-doc" source="$pkgname-$pkgver.tar.gz::https://github.com/Icinga/$pkgname/archive/v$pkgver.tar.gz" build() { return 0 } package() { mkdir -p "$pkgdir/etc/icingaweb2/modules/$_module" mkdir -p "$pkgdir/usr/share/doc/$pkgname" mkdir -p "$pkgdir/usr/share/webapps/icingaweb2/modules/$_module" cp -a vendor composer.json composer.lock module.info run.php \ "$pkgdir/usr/share/webapps/icingaweb2/modules/$_module" chgrp -R $pkggroups "$pkgdir/etc/icingaweb2/modules/$_module" cat >"$pkgdir"/usr/share/doc/$pkgname/README.alpine <