blob: eed23b8fb91200bbc9e7fb4d3fd0bf3c1b43e075 (
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: Winston Astrachan <winston dot astrachan at gmail dot com>
# Maintainer: Henry Pham <huy at tableplus dot com>
pkgname=tableplus
pkgver=0.1.40
pkgrel=1
pkgdesc="Modern, native, and friendly GUI tool for relational databases (Alpha)"
arch=('x86_64')
url="https://tableplus.com/"
license=('custom')
depends=('gtksourceview3' 'libgee' 'gnome-keyring')
source=('LICENSE'
"https://deb.tableplus.com/debian/pool/main/t/tableplus/tableplus_${pkgver}_amd64.deb"
)
sha256sums=('76f924b1ebad5309ccf0dd7f3fe3d1b57ff3088b208a603900b0e240fdb5debb'
'8839ba141873f00979f55c2491d8475f3a3bd7514274d21cc0f892169d6bb7da'
)
prepare() {
cd "$srcdir"
tar -xf data.tar.xz
}
package() {
cd "$srcdir"
install -d "$pkgdir/usr/local/bin/"
install -d "$pkgdir/usr/share/applications/"
install -d "$pkgdir/opt/tableplus/"
install -Dm755 opt/tableplus/tableplus "$pkgdir/usr/local/bin/"
install -Dm644 opt/tableplus/tableplus.desktop "$pkgdir/usr/share/applications/"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
cp -r opt/tableplus/resource "$pkgdir/opt/tableplus/"
find opt/tableplus/ -type d -exec chmod 755 {} \;
find opt/tableplus/ -type f -exec chmod 644 {} \;
}
|