aboutsummarylogtreecommitdiffstats
path: root/PKGBUILD
blob: fe719ed5d906fec1870ec5170b6ae46ecc73989d (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
# Maintainer: Takuya Tominaga <takuya.tominaga.public at gmail dot com>

_pkgname=embulk
pkgname=$_pkgname-bin
pkgver=0.8.33
pkgrel=2
pkgdesc="Pluggable Bulk Data Loader."
arch=('i686' 'x86_64')
url="https://github.com/treasure-data/digdag"
license=('Apache')
depends=('jdk8-openjdk' 'nodejs')

_dl_url=https://dl.bintray.com/embulk/maven
source_i686=("$_dl_url/$_pkgname-$pkgver.jar"
)
source_x86_64=("$_dl_url/$_pkgname-$pkgver.jar"
)
md5sums_i686=('SKIP'
)
md5sums_x86_64=('SKIP'
)



package() {
  _source_arch="32"
  [ "$CARCH" = "x86_64" ] && _source_arch="64"

  install -Dm755 "$srcdir/$_pkgname-$pkgver.jar" "$pkgdir/usr/bin/$_pkgname"
}