add checksums, fix .desktop file

This commit is contained in:
Kainoa Kanter 2025-02-05 15:18:49 -08:00
parent 977198ed91
commit dfbaa51f09
No known key found for this signature in database
GPG key ID: 8703CACD01000000
2 changed files with 5 additions and 4 deletions

View file

@ -1,7 +1,7 @@
pkgbase = surrealist-bin
pkgdesc = Surrealist is the ultimate way to visually manage your SurrealDB database
pkgver = 3.2.1
pkgrel = 1
pkgrel = 2
url = https://github.com/surrealdb/surrealist
arch = x86_64
license = MIT
@ -10,5 +10,6 @@ pkgbase = surrealist-bin
provides = surrealist
conflicts = surrealist
source = https://github.com/surrealdb/surrealist/releases/download/surrealist-v3.2.1/surrealist_3.2.1_amd64.deb
sha256sums = 2dbe8e66e90d78ddc8581903405aee8e24fb17bf4b9ead95e1ae212b45f2a672
pkgname = surrealist-bin

View file

@ -2,7 +2,7 @@
pkgname=surrealist-bin
pkgver=3.2.1
pkgrel=1
pkgrel=2
pkgdesc="Surrealist is the ultimate way to visually manage your SurrealDB database"
arch=("x86_64")
url="https://github.com/surrealdb/surrealist"
@ -12,10 +12,10 @@ depends=("webkit2gtk-4.1" "gtk3")
provides=("surrealist")
conflicts=("surrealist")
source=("https://github.com/surrealdb/surrealist/releases/download/surrealist-v${pkgver//_/-}/surrealist_${pkgver//_/-}_amd64.deb")
md5sums=("SKIP")
sha256sums=('2dbe8e66e90d78ddc8581903405aee8e24fb17bf4b9ead95e1ae212b45f2a672')
package() {
bsdtar -O -xf "surrealist_${pkgver//_/-}_amd64.deb" data.tar.gz | bsdtar -C "${pkgdir}" -xJf -
sed -i 's/Exec=surrealist/Exec=env WEBKIT_DISABLE_DMABUF_RENDERER=1 surrealist/g' ${pkgdir}/usr/share/applications/surrealist.desktop
sed -i 's/Exec=surrealist/Exec=env WEBKIT_DISABLE_DMABUF_RENDERER=1 surrealist --uri=%U/g' ${pkgdir}/usr/share/applications/surrealist.desktop
echo "Comment=Surrealist is the ultimate way to visually manage your SurrealDB database" >> ${pkgdir}/usr/share/applications/surrealist.desktop
}