summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3ce7b3731524aab0e72d3cbb61ff3fbecfd9835e (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
pkgname=gephgui-wry-bin
pkgver=5.0.9
pkgrel=1
pkgdesc="Geph desktop GUI"
arch=('x86_64')
url="https://github.com/geph-official/gephgui-wry"
download_url="https://github.com/geph-official/gephgui-pkg/releases/download"
license=('MPL-2.0')
provides=('gephgui-wry')
conflicts=('gephgui-wry')
depends=('webkit2gtk-4.1')
source=(
  "gephgui-wry-bin-$pkgver.deb::$download_url/v$pkgver/gephgui-wry_${pkgver}_amd64.deb"
  "geph.png::https://raw.githubusercontent.com/geph-official/gephgui-pkg/refs/heads/master/flatpak/icons/256x256/apps/io.geph.GephGui.png"
)
md5sums=('60f597f5a8ab6a85ebc1e15d4b6def42'
         '4655e64a5d56c316383e1ffa79ddc772')

package() {
  bsdtar -xf "${srcdir}/data.tar.zst" -C "$pkgdir"

  install -Dm644 "${srcdir}/geph.png" "$pkgdir/usr/share/icons/hicolor/256x256/apps/geph.png"

  find "$pkgdir" -type d -exec chmod 755 {} +
  find "$pkgdir" -type f -exec chmod 644 {} +
  find "$pkgdir/usr/bin" -type f -exec chmod 755 {} + 2>/dev/null || true
  find "$pkgdir/usr/lib" -type f -exec chmod 755 {} + 2>/dev/null || true
}