blob: 48568178076e9a60fb08c88446b77237fd569a37 (
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
|
# Maintainer: D. Can Celasun <can[at]dcc[dot]im>
# Co-Maintainer: Ethan Pailes ethan[at]pailes[dot]org
# To be able to verify the gpg signatures run:
# ```
# gpg --keyserver hkp://keyserver.ubuntu.com --recv-keys 630D9F3CAB551AF3
# printf "trusted-key 630D9F3CAB551AF3\n" >> ~/.gnupg/gpg.conf
# ```
pkgname=snowflake-client
pkgver=1.3.1
pkgrel=1
epoch=1
pkgdesc="Snowflake Database command line client (snowsql)"
arch=('x86_64')
url="http://www.snowflake.net/"
license=('custom:commercial')
depends=('gcc-libs'
# Needed for libcrypt.so.1
'libxcrypt-compat')
source=(
"${pkgname}-${pkgver}.bash::https://sfc-repo.snowflakecomputing.com/snowsql/bootstrap/$(echo ${pkgver} | awk -F. '{print $1 "." $2}')/linux_x86_64/snowsql-${pkgver}-linux_x86_64.bash"
"${pkgname}-${pkgver}.bash.sig::https://sfc-repo.snowflakecomputing.com/snowsql/bootstrap/$(echo ${pkgver} | awk -F. '{print $1 "." $2}')/linux_x86_64/snowsql-${pkgver}-linux_x86_64.bash.sig"
)
sha256sums=('9a59dad2539ab8bda125d0fd923b6b3c4817dabfb5a7f923fd15825efd44f4f9'
'SKIP')
package() {
# Stop Snowflake installer from modifying shell profile
local tmp="$(mktemp)"
SNOWSQL_DEST="${pkgdir}" SNOWSQL_LOGIN_SHELL="${tmp}" sh "${pkgname}-${pkgver}.bash"
install -Dm755 "${pkgdir}/snowsql" "${pkgdir}/usr/bin/snowsql"
rm -f "${pkgdir}/snowsql"
}
|