summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1c3a5de9b77a28c9d627677d16da04d345cd323b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Maintainer: Sean Snell <ssnell at cmhsol dot com>

pkgname=rmmagent
pkgver=1.0.2
pkgrel=1
pkgdesc='Remote Monitoring Agent for GFI Languard Dashboard'
arch=('i686' 'x86_64')
url='http://languard.gfi.com/'
license=('custom')
options=('!strip')
provides=('rmmagent')
depends_x86_64=(
	'ethtool'
	'smartmontools'
	'gcc-libs'
	'glibc'
	'openssl'
	'unzip')

depends_i686=(
	'ethtool'
	'smartmontools'
	'gcc-libs'
	'glibc'
	'openssl'
	'unzip')

install=.INSTALL
source_x86_64=("http://repos.systemmonitor.us/rmmagent/Debian_7.0/amd64/rmmagent_1.0.2-1_amd64.deb")
source_i686=("http://repos.systemmonitor.us/rmmagent/Debian_7.0/i386/rmmagent_1.0.2-1_i386.deb")

md5sums_x86_64=('ed1afc694402e151ed72241600c10200')
md5sums_i686=('870236044d12b7aaa236fb4475b3d3b4')

prepare() {
	tar -xf data.tar.gz
	tar -xf control.tar.gz
	mv usr/local/lib/ usr/lib
	mv usr/local/rmmagent usr/rmmagent
}

package() {
	# Install
	cp -dr --no-preserve=ownership {etc,usr} "${pkgdir}"/
}