summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7f74eb7df9ce629317d3cd64de20e75360f59424 (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
# Maintainer: shinka <shinnkka1@gmail.com>

pkgname=pdi-ce
pkgver=9.4.0.0_343
pkgrel=1

pkgdesc='Pentaho Data Integration (ETL) a.k.a Kettle'
arch=('x86_64')
url='https://pentaho.com/pentaho-developer-edition/'
license=('Apache-2.0')

depends=('java-runtime' 'gtk3' 'libxtst')

source=(
  "https://privatefilesbucket-community-edition.s3.us-west-2.amazonaws.com/${pkgver//_/-}/ce/client-tools/pdi-ce-${pkgver//_/-}.zip"
  "spoon"
  "carte"
  "kitchen"
  "pan"
  "spoon.desktop"
)
sha1sums=('bd89671a9d6f95948d3fbbfd33102710f3e004e0'
          'b4166cbcb4fe8c77a4fc4ac02b08703aeacb9759'
          'cff3ac6b1df50792b41e613d39bcc3a04eea2e18'
          '0e06b24ffdfad8af2f321ad855d819d5cf4b085c'
          '1d1a0b6f5ef9a9a48280fb8c98d8feea0d62df4a'
          '99ff161080cfd675a11928dd467426ba72df4e77')

package() {
  install -d "$pkgdir/opt/pdi"
  install -d "$pkgdir/usr/bin"
  install -d "$pkgdir/usr/share/applications"
  install -d "$pkgdir/usr/share/icons"

  cp -r data-integration/* "$pkgdir/opt/pdi"
  install -m 755 spoon carte kitchen pan "$pkgdir/usr/bin"
  install -m 644 "spoon.desktop" "$pkgdir/usr/share/applications/spoon.desktop"
  install -m 644 data-integration/spoon.png "$pkgdir/usr/share/icons/spoon.png"
}