summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6aab1e125e13454948b6be9b9aa75e4b45c82084 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
pkgname=flume-ng-rabbitmq
pkgver=1.0
pkgrel=4
pkgdesc='Flume-NG RabbitMQ'
arch=('any')
url='https://github.com/jcustenborder/flume-ng-rabbitmq'
license=('Apache License')
depends=('apache-flume-ng')
makedepends=('java-environment>=6')
install=flume-ng-rabbitmq.install
source=('git+https://github.com/jcustenborder/flume-ng-rabbitmq.git')

md5sums=('SKIP')

build() {
  cd $pkgname
  mvn package
}

package() {
  mkdir -p $pkgdir/usr/share/java
  install -Dm644 $srcdir/flume-ng-rabbitmq/target/flume-rabbitmq-channel-1.0-SNAPSHOT.jar $pkgdir/usr/share/java/$pkgname.jar
}