summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorWinston Astrachan2020-03-02 16:20:54 -0500
committerWinston Astrachan2020-03-02 16:20:54 -0500
commitc93fb08a766e843676415275efc58a50126da212 (patch)
treeb6d1083afcff055d907d2850a19505bf7fe55e56
parentd9cadcf13f3154be5299f94ffc7ff6f4dfd8c6c5 (diff)
downloadaur-c93fb08a766e843676415275efc58a50126da212.tar.gz
Patch desktop shortcut to add category, comment
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD5
-rw-r--r--tableplus.desktop.patch11
3 files changed, 18 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index aa44f89a3006..3c4768542b6b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = tableplus
pkgdesc = Modern, native, and friendly GUI tool for relational databases (Alpha)
pkgver = 0.1.40
- pkgrel = 1
+ pkgrel = 2
url = https://tableplus.com/
arch = x86_64
license = custom
@@ -9,8 +9,10 @@ pkgbase = tableplus
depends = libgee
depends = gnome-keyring
source = LICENSE
+ source = tableplus.desktop.patch
source = https://deb.tableplus.com/debian/pool/main/t/tableplus/tableplus_0.1.40_amd64.deb
sha256sums = 76f924b1ebad5309ccf0dd7f3fe3d1b57ff3088b208a603900b0e240fdb5debb
+ sha256sums = ffe6b081bf6e868c3b9b9c3b9088af37a74cb7a517c5de927c0ad216ee66eed1
sha256sums = 8839ba141873f00979f55c2491d8475f3a3bd7514274d21cc0f892169d6bb7da
pkgname = tableplus
diff --git a/PKGBUILD b/PKGBUILD
index eed23b8fb912..d652f6ef3c76 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,22 +3,25 @@
pkgname=tableplus
pkgver=0.1.40
-pkgrel=1
+pkgrel=2
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'
+ 'tableplus.desktop.patch'
"https://deb.tableplus.com/debian/pool/main/t/tableplus/tableplus_${pkgver}_amd64.deb"
)
sha256sums=('76f924b1ebad5309ccf0dd7f3fe3d1b57ff3088b208a603900b0e240fdb5debb'
+ 'ffe6b081bf6e868c3b9b9c3b9088af37a74cb7a517c5de927c0ad216ee66eed1'
'8839ba141873f00979f55c2491d8475f3a3bd7514274d21cc0f892169d6bb7da'
)
prepare() {
cd "$srcdir"
tar -xf data.tar.xz
+ patch --forward --strip=1 --input="${srcdir}/tableplus.desktop.patch"
}
package() {
diff --git a/tableplus.desktop.patch b/tableplus.desktop.patch
new file mode 100644
index 000000000000..20eabcb468fe
--- /dev/null
+++ b/tableplus.desktop.patch
@@ -0,0 +1,11 @@
+--- /opt/tableplus/tableplus.desktop 2020-03-02 09:19:32.000000000 -0500
++++ /opt/tableplus/tableplus.desktop 2020-03-02 16:07:55.688490096 -0500
+@@ -3,4 +3,6 @@
+ Type=Application
+ Exec=/usr/local/bin/tableplus
+ Icon=/opt/tableplus/resource/image/logo.png
+-Terminal=false
+\ No newline at end of file
++Terminal=false
++Categories=Utility;Development;
++Comment=Modern, native, and friendly GUI tool for relational databases (Alpha)