makedeb


kitty-bin 0.23.1-1


Cross-platform, fast, feature-rich, GPU based terminal.

Click here to go back to the commit logs for kitty-bin.

Commit:


Hash: 6bde8fdbd0480f529517b479bfac4a6e6b713dad

Message: switch to kitty-terminfo, thanks to prg

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 279abb2..4bb48e9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -7,8 +7,10 @@ pkgbase = kitty-bin
 	url = https://sw.kovidgoyal.net/kitty
 	arch = x86_64
 	license = GPL3
+	depends = kitty-terminfo
 	provides = kitty
 	conflicts = kitty
+	conflicts = kitty-doc
 	replaces = kitty
 	source = https://github.com/kovidgoyal/kitty/releases/download/v0.23.1/kitty-0.23.1-x86_64.txz
 	sha256sums = a82c30fd77c1ccb90df1a26a75cbfe7c97b3f969a7d6bd754edfc20ee8279b24
diff --git a/PKGBUILD b/PKGBUILD
index 2d87206..6c48d06 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,4 +1,5 @@
 # Maintainer: Leo Puvilland <lpuvilla0001@mymail.lausd.net>
+# Contributor: prg <prg@xannode.com>
 
 pkgname=kitty-bin
 pkgver=0.23.1
@@ -8,8 +9,9 @@ arch=('x86_64')
 url="https://sw.kovidgoyal.net/kitty"
 license=('GPL3')
 provides=('kitty')
-conflicts=('kitty')
+conflicts=('kitty' 'kitty-doc')
 replaces=('kitty')
+depends=('kitty-terminfo')
 
 source=("https://github.com/kovidgoyal/kitty/releases/download/v${pkgver}/kitty-${pkgver}-x86_64.txz")
 sha256sums=("a82c30fd77c1ccb90df1a26a75cbfe7c97b3f969a7d6bd754edfc20ee8279b24")
@@ -31,5 +33,7 @@ package() {
     cp -a bin/* "$bindir"
     cp -a lib/* "$libdir"
     cp -a share/* "$sharedir"
+    # Don't include terminfo; use kitty-terminfo
+    rm -rf "$sharedir/terminfo"
 }