# Maintainer: Jesus Martin Ortega Martinez (madara125) # Contribuidor: Kevin Muñoz pkgname=wazuh-indexer pkgver=4.6.0 _remRevision=1 _prodver=${pkgver}-${_remRevision} pkgrel=1 pkgdesc="Wazuh Indexer for Arch Linux" arch=('x86_64') url="https://wazuh.com/" license=('gpl2') depends=( 'coreutils' ); optdepends=( ); validpgpkeys=('9E646BB0630C8FD18ACD15541B93E6A766CD229D') source=("https://packages.wazuh.com/4.x/yum/${pkgname}-${_prodver}.x86_64.rpm") sha256sums=('5cb9496f98595c64d351d4b99073c9a7aa48ebe0496eda4853732d2fe66abbf5') install=$pkgname.install package() { #Setup cd $pkgdir mv $srcdir/etc . mv $srcdir/usr . mv $srcdir/var . #Set systemd service file perms chmod 644 $pkgdir/usr/lib/systemd/system/wazuh-indexer-performance-analyzer.service chmod 644 $pkgdir/usr/lib/systemd/system/wazuh-indexer.service }