summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 300694a7f2ff38e918122d42a721e78e123450b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: Michael Clayfield <me@michaelclayfield.com>

pkgname=icingaweb2-module-ipl
pkgver=0.5.0
pkgrel=1
pkgdesc="The Icinga PHP library for Icinga Web 2"
license=('GPL')
arch=('any')
depends=('icingaweb2')
url="http://www.icinga.org"
source=("https://github.com/Icinga/${pkgname}/archive/v${pkgver}.tar.gz")
sha256sums=('3f6caac4d06e7b0f1915640ad3afeb584033731afa504f574e79d74810f160c7')

package() {
  cd "$srcdir/$pkgname-$pkgver"

  mkdir -p "$pkgdir/etc/icingaweb2/modules/ipl"
  mkdir -p "$pkgdir/usr/share/webapps/icingaweb2/modules/ipl"

  cp -r vendor composer.json composer.lock module.info run.php \
    "$pkgdir/usr/share/webapps/icingaweb2/modules/ipl"
}