summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1f88b59f1ef55c5b5119d7bd531f6c519481bbc7 (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
# Maintainer: MichaƂ Sidor (Michcioperz) <packages at meekchopp dot es>
pkgname=h2o-ai-bin
# this _ver mess is there to make it easier to understand how to update the version and how various updates affect the url
_ver1=3
_ver2=40
_ver3=0
# codename changes when one of the first three numbers changes
_vercodename=zz_kurka
_ver4=4
pkgver=$_ver1.$_ver2.$_ver3.$_ver4
source=("https://h2o-release.s3.amazonaws.com/h2o/rel-$_vercodename/$_ver4/h2o-$pkgver.zip"
        "h2o-ai.sh")
pkgrel=1
pkgdesc="Open source machine learning API"
arch=('x86_64')
url="https://www.h2o.ai/h2o/"
license=('Apache')
depends=('java-runtime>=7')

package() {
  cd $srcdir/h2o-$pkgver
  mkdir -p "$pkgdir/usr/share/java/h2o-ai"
  cp h2o.jar "$pkgdir/usr/share/java/h2o-ai"
  install -Dm755 $srcdir/h2o-ai.sh "$pkgdir/usr/bin/h2o-ai"
}

md5sums=('38e109ca4ed7a7a1ae1340f05aa97780'
         'be58746df5ba4913ea335a3adc08814a')