blob: 522f2868101053ac0fa1630b4027ff9505de7984 (
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
40
41
42
|
# Maintainer: Dimitris Kiziridis <ragouel at outlook dot com>
pkgname=razorsql
pkgver=9.3.0
_pkgver=9_3_0
pkgrel=1
pkgdesc="An SQL query tool, database browser, SQL editor, and database administration tool (Trial)"
arch=('x86_64')
url='https://razorsql.com'
license=("custom:${pkgname}")
depends=('java-runtime>=8'
'libxrender'
'alsa-lib'
'freetype2'
'libxtst'
'libnet'
'sqlite'
'python'
'lib32-glibc')
makedepends=('unzip' 'gendesk')
noextract=("${pkgname}-${pkgver}.zip")
source=("${pkgname}-${pkgver}.zip::https://s3.dualstack.us-east-1.amazonaws.com/downloads.razorsql.com/downloads/${_pkgver}/razorsql${_pkgver}_linux_x64.zip")
sha256sums=('346bd4b724b0b81fa2606de09df3209f8c90f50f4af1f888745faded484a250c')
package() {
install -d "${pkgdir}/opt"
unzip ${pkgname}-${pkgver}.zip -d "${pkgdir}/opt"
echo "#!/usr/bin/env bash
cd /opt/razorsql/
./RazorSQL "\$\@"" > razorsql.sh
install -Dm755 razorsql.sh "${pkgdir}/usr/bin/razorsql"
gendesk -f -n --pkgname "${pkgname}" \
--pkgdesc "$pkgdesc" \
--name "RazorSQL" \
--comment "$pkgdesc" \
--exec "${pkgname}" \
--categories 'Development;Utility' \
--icon "${pkgname}"
install -Dm644 "${pkgname}.desktop" -t "${pkgdir}/usr/share/applications"
install -Dm644 "${pkgdir}/opt/razorsql/icons/razorsql256.png" "${pkgdir}/usr/share/pixmaps/razorsql.png"
install -Dm644 "${pkgdir}/opt/razorsql/license.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|