Skip to content

Commit 69a1dc5

Browse files
committed
add: kitty-bin
Add package for [kitty][1]: > The fast, feature-rich, GPU based terminal emulator. This installs a pre-built bundle including most of kitty's dependencies and desktop integration. [1]: https://sw.kovidgoyal.net/kitty/ Fixes #5801.
1 parent d6e1bba commit 69a1dc5

File tree

4 files changed

+96
-0
lines changed

4 files changed

+96
-0
lines changed

packagelist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,7 @@ keepassxc
306306
keybase-deb
307307
keyd-deb
308308
kirc
309+
kitty-bin
309310
komorebi-fork-deb
310311
koodo-reader-deb
311312
krita-app

packages/kitty-bin/.SRCINFO

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
pkgbase = kitty-bin
2+
gives = kitty
3+
pkgver = 0.44.0
4+
pkgdesc = Fast, feature-rich GPU based terminal emulator
5+
url = https://sw.kovidgoyal.net/kitty/
6+
arch = amd64
7+
depends = libc6
8+
depends = libdbus-1-3
9+
depends = libfontconfig1
10+
depends = libx11-6
11+
depends = libx11-xcb1
12+
depends = libxcb-xkb1
13+
depends = libxcursor1
14+
depends = xkb-data
15+
recommends = libcanberra0
16+
suggests = imagemagick
17+
license = GPL-3.0-only
18+
maintainer = Tom Dryer <[email protected]>
19+
repology = project: kitty-terminal
20+
source = https://github.com/kovidgoyal/kitty/releases/download/v0.44.0/kitty-0.44.0-x86_64.txz
21+
sha256sums = 5b502801c8814c9fc5a2e8d9cfdf1c2ec5ee78b3e647f898704ad537a2ff452d
22+
23+
pkgname = kitty-bin
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
pkgname="kitty-bin"
2+
gives="kitty"
3+
pkgver="0.44.0"
4+
arch=("amd64")
5+
url='https://sw.kovidgoyal.net/kitty/'
6+
pkgdesc="Fast, feature-rich GPU based terminal emulator"
7+
source=("https://github.com/kovidgoyal/kitty/releases/download/v${pkgver}/kitty-${pkgver}-x86_64.txz")
8+
sha256sums=("5b502801c8814c9fc5a2e8d9cfdf1c2ec5ee78b3e647f898704ad537a2ff452d")
9+
depends=(
10+
"libc6"
11+
"libdbus-1-3"
12+
"libfontconfig1"
13+
"libx11-6"
14+
"libx11-xcb1"
15+
"libxcb-xkb1"
16+
"libxcursor1"
17+
"xkb-data"
18+
)
19+
recommends=("libcanberra0")
20+
suggests=("imagemagick")
21+
maintainer=("Tom Dryer <[email protected]>")
22+
repology=("project: kitty-terminal")
23+
license=("GPL-3.0-only")
24+
25+
package() {
26+
cd "${srcdir}"
27+
28+
# Install `bin` and `lib` in `/opt/kitty/` because they must be side-by-side
29+
# in order for the binaries to find the bundled libraries via relative paths:
30+
install -d "${pkgdir}/opt/${gives}"
31+
cp -r bin lib "${pkgdir}/opt/${gives}/"
32+
33+
# Symlink the binaries from `/usr/bin` so they are in PATH:
34+
install -d "${pkgdir}/usr/bin/"
35+
ln -s "/opt/${gives}/bin/"{kitty,kitten} "${pkgdir}/usr/bin/"
36+
37+
# Install `share` contents to `/usr/share`:
38+
local paths=(
39+
share/applications/*
40+
share/icons/hicolor/*/apps/*
41+
share/man/man1/*
42+
share/man/man5/*
43+
)
44+
for path in "${paths[@]}"; do
45+
install -d "$(dirname "${pkgdir}/usr/${path}")"
46+
cp "${path}" "${pkgdir}/usr/${path}"
47+
done
48+
}

srclist

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6349,6 +6349,30 @@ pkgbase = kirc
63496349

63506350
pkgname = kirc
63516351
---
6352+
pkgbase = kitty-bin
6353+
gives = kitty
6354+
pkgver = 0.44.0
6355+
pkgdesc = Fast, feature-rich GPU based terminal emulator
6356+
url = https://sw.kovidgoyal.net/kitty/
6357+
arch = amd64
6358+
depends = libc6
6359+
depends = libdbus-1-3
6360+
depends = libfontconfig1
6361+
depends = libx11-6
6362+
depends = libx11-xcb1
6363+
depends = libxcb-xkb1
6364+
depends = libxcursor1
6365+
depends = xkb-data
6366+
recommends = libcanberra0
6367+
suggests = imagemagick
6368+
license = GPL-3.0-only
6369+
maintainer = Tom Dryer <[email protected]>
6370+
repology = project: kitty-terminal
6371+
source = https://github.com/kovidgoyal/kitty/releases/download/v0.44.0/kitty-0.44.0-x86_64.txz
6372+
sha256sums = 5b502801c8814c9fc5a2e8d9cfdf1c2ec5ee78b3e647f898704ad537a2ff452d
6373+
6374+
pkgname = kitty-bin
6375+
---
63526376
pkgbase = komorebi-fork-deb
63536377
gives = komorebi
63546378
pkgver = 2.2.1

0 commit comments

Comments
 (0)