summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e0836594715ae5c83f36d03cb6988052731b6617 (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
43
44
45
46
47
48
#Maintainer: AEnterprise <aenterprise@gearbot.rocks>
pkgname=warp-terminal
pkgver=0.2024.04.16.08.02.stable_00
pkgrel=1
pkgdesc="Warp, the Rust-based terminal for developers and teams"
license=('custom')

arch=('x86_64')
source=("https://releases.warp.dev/stable/v${pkgver}/warp-terminal-v${pkgver}-1-x86_64.pkg.tar.zst")
md5sums=('7b280c693443d3eb6883018167d70c0d')
depends=(
curl
default-cursors
fontconfig
libegl
libx11
libxcb
libxcursor
libxi
libxkbcommon-x11
opengl-driver
xdg-utils
zlib
)
optdepends=(
'adwaita-cursors: for if there is no default cursor installed'
'zenity: for file dialogs in Gnome'
'kdialog: for file dialogs in KDE'
'org.freedesktop.secrets: for securely storing passwords'
)
provides=("$pkgname")

prepare() {
    mv warp-terminal-v${pkgver}-1-x86_64.pkg.tar.zst ${pkgname}_${pkgver}.pkg.tar.zst
    mkdir ${pkgname}-${pkgver}
    tar -xf ${pkgname}_${pkgver}.pkg.tar.zst --directory="${pkgname}-${pkgver}"
}


package() {
    cd "$pkgname-${pkgver}"

  install -Dm644 -d opt/warpdotdev/warp-terminal/ /opt/warpdotdev/warp-terminal
  install -Dm644 -d usr/share/icons/hicolor /usr/share/icons/hicolor
  install -Dm644 usr/share/bin/warp-terminal /usr/share/applications/bin/warp-terminal
  install -Dm644 usr/share/applications/dev.warp.Warp.desktop /usr/share/applications/dev.warp.Warp.desktop

}