summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8afdb19101a592284c407da49312a8ef391bfc06 (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
# Maintainer: <none>
# Contributor: tarball <bootctl@gmail.com>

pkgname=qstudio-bin
pkgver=3.05
pkgrel=2
pkgdesc='Free SQL Editor for Data Analysis'
arch=(any)
url='https://www.timestored.com/qstudio'
license=(custom) # Apache-licensed sources on GitHub cover a small subset of the project
provides=(qstudio)
conflicts=(qstudio)
depends=('java-runtime')
noextract=("qstudio-$pkgver.jar")
source=(
  "qstudio-$pkgver.jar::https://github.com/timeseries/qstudio/releases/download/$pkgver/qstudio.jar"
  'qstudio.sh'
  'qstudio.desktop'
  'qstudio.png'
)
sha256sums=('20e774f97fa74c83e8f2d2e32256fbae599ef80015f99f4ddbb95f7e84ee48ba'
            'ba263d25a56fde59d0960cc7c116f175f1de31b02ba6b33d815419c403949e78'
            'b0bf670006e46258b86577ee2c5eb83b7bc4f9b18d7173334e1dbcd20265931e'
            '5d3f06e1a865244265c7c4e4d52c6f63318fa6405d03b232c64b13b72bf298b7')

package() {
  install -Dm644 "qstudio-$pkgver.jar" \
    "$pkgdir/usr/lib/qstudio/qstudio.jar"

  install -Dm755 qstudio.sh \
    "$pkgdir"/usr/bin/qstudio

  install -Dm644 qstudio.png \
    "$pkgdir/usr/share/icons/hicolor/48x48/apps/qstudio.png"

  install -Dm644 qstudio.desktop \
    "$pkgdir"/usr/share/applications/qstudio.desktop
}