pkgbuilds/wazuh-indexer/PKGBUILD

37 lines
978 B
Bash
Raw Permalink Normal View History

# Maintainer: Jesus Martin Ortega Martinez (madara125) <martin.ortega.arashi@gmail.com><jortega@condorbs.net>
2023-11-21 10:09:57 -06:00
# Contributor: Kevin Muñoz (MrHacker) <kmunoz@condorbs.net><david.munozm@proton.me>
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 .
2023-11-21 10:09:57 -06:00
#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
}