fix .desktop file

This commit is contained in:
Kainoa Kanter 2025-03-26 10:48:32 -07:00
parent 415d4773e3
commit 2497b702e1
No known key found for this signature in database
GPG key ID: 8703CACD01000000
2 changed files with 4 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.3.0
pkgrel = 1
pkgrel = 2
url = https://github.com/surrealdb/surrealist
arch = x86_64
license = MIT

View file

@ -3,7 +3,7 @@
pkgname=surrealist-bin
pkgver=3.3.0
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"
@ -17,6 +17,6 @@ sha256sums=('55b7a212e5825cebc2c40dca3df1fdd387466d87422d89ce47668ea690780a16')
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 --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
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
}