blob: 0014263b693617fb106facb0dabe1cbfeb9117d9 (
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: Lucas SaliƩs Brum <sistematico at gmail dot com>
# Contributor: Ethan Reece <aur at ethanreece dot com>
# Contributor: Loopsmark <loopsmark at merkur dot pm>
# Contributor: Winston Astrachan <winston dot astrachan at gmail dot com>
# Contributor: Henry Pham <huy at tableplus dot com>
pkgname=tableplus
pkgver=0.1.258
pkgrel=1
pkgdesc='Modern, native, and friendly GUI tool for relational databases (Alpha)'
arch=('x86_64' 'aarch64')
url='https://tableplus.com/'
license=('custom')
depends=('gtksourceview3' 'libgee' 'gnome-keyring')
source=('LICENSE' 'tableplus.desktop')
source_x86_64=("tableplus_${pkgver}_${pkgrel}_amd64.deb::https://deb.tableplus.com/debian/22/pool/main/t/tableplus/tableplus_${pkgver}_amd64.deb")
source_aarch64=("tableplus_${pkgver}_${pkgrel}_arm64.deb::https://deb.tableplus.com/debian/22-arm/pool/main/t/tableplus/tableplus_${pkgver}_arm64.deb")
sha256sums=('76f924b1ebad5309ccf0dd7f3fe3d1b57ff3088b208a603900b0e240fdb5debb'
'83620b08e325418947f0007ecca7b981a988bfdac3f466db165f9262d1c0e5f4')
sha256sums_x86_64=('2ea32f7dc78ab68db29fa1c0419b6819a2301c632e5ec1c7b8832a0bb7982deb')
sha256sums_aarch64=('797e899f2d40bf0a1dffa29a870573fe7509fc97a8d7bd42710a135150ffcf37')
prepare() {
tar -xf "${srcdir}/data.tar.zst"
}
package() {
install -d $pkgdir/opt/tableplus $pkgdir/usr/local/bin
install -Dm755 $srcdir/opt/tableplus/tableplus -t $pkgdir/opt/tableplus/
install -m755 $srcdir/opt/tableplus/tableplus -t $pkgdir/opt/tableplus/
install -Dm644 $srcdir/opt/tableplus/tableplus.desktop -t $pkgdir/usr/share/applications/
install -Dm644 $srcdir/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
cp -r $srcdir/opt/tableplus/resource $pkgdir/opt/tableplus/
echo -e '#!/bin/sh\n/opt/tableplus/tableplus "$@"' >$pkgdir/usr/local/bin/tableplus
chmod 755 $pkgdir/usr/local/bin/tableplus
}
|