summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c8a0bd495ba685ef79e8afe22b2ae7a770ae04fd (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
39
40
41
42
# Maintainer: SnailDOS <snaildos@snaildos.com>

pkgname=fifo-bin
_pkgname=fifo-bin
pkgver=1.2.2
pkgrel=1
pkgdesc="The future of browsing. Seamless experience for the EncryptOS experience, made with love by the same developers you all know, SnailDOS."
arch=(x86_64)
url="https://fifo.snaildos.com"
license=("GNU" "v3")
depends=(
  zlib
  libgl
  fuse2
)
provides=(fifo)
conflicts=(fifo)
options=(!strip)
source=(
  "Fifo-$pkgver.AppImage::https://github.com/SnailDOS/Fifo-Browser/releases/download/v$pkgver/Fifo-$pkgver.AppImage"
  "https://raw.githubusercontent.com/snaildos/Fifo-Browser/main/static/icons/icon.png"
  "https://raw.githubusercontent.com/snaildos/Fifo-Browser/main/LICENSE"
  "https://raw.githubusercontent.com/snaildos/Fifo-Browser/main/static/fifo.desktop"
)
noextract=("Fifo.AppImage")
sha256sums=('9bc6a3e4b31e3d21903e17dc35bc30f86e151e26760641aceac2475c99ea5f58'
            '2230e5025d9fa4417c69b359bb8478d70f08450aef556227df7579779fa6ef08'
            '0bfebc9c7852e4cf48713cbc445971e7925122f2a202b60639ce36ca9dd3b932'
            '1a761bd47099164aca5fceb945a5f335ee78be485aa42baa5761021447992cba')

package() {
  cd "$srcdir"

  # Install binaries
  install -Dm755 "Fifo-$pkgver.AppImage" "$pkgdir/opt/fifo/fifo.AppImage"
  # install -Dm755 -t "$pkgdir/usr/bin" Fifo.AppImage

  # Install pixmap, desktop and license file
  install -Dm644 icon.png "$pkgdir/usr/share/pixmaps/fifo.png"
  install -Dm644 -t "$pkgdir/usr/share/applications" fifo.desktop
  install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
}