[arch-commits] Commit in kitty/repos/community-x86_64 (PKGBUILD PKGBUILD)
Sven-Hendrik Haase
svenstaro at archlinux.org
Sun Sep 22 00:12:43 UTC 2019
Date: Sunday, September 22, 2019 @ 00:12:42
Author: svenstaro
Revision: 511446
archrelease: copy trunk to community-x86_64
Added:
kitty/repos/community-x86_64/PKGBUILD
(from rev 511445, kitty/trunk/PKGBUILD)
Deleted:
kitty/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 93 ++++++++++++++++++++++++++++++++++---------------------------
1 file changed, 53 insertions(+), 40 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-09-22 00:12:37 UTC (rev 511445)
+++ PKGBUILD 2019-09-22 00:12:42 UTC (rev 511446)
@@ -1,40 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
-# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
-# Contributor: Fabio 'Lolix' Loli <lolix at disroot.org> -> https://github.com/FabioLolix
-# Contributor: Maximilian Kindshofer <maximilian at kindshofer.net>
-
-pkgname=kitty
-pkgver=0.14.4
-pkgrel=1
-pkgdesc="A modern, hackable, featureful, OpenGL based terminal emulator"
-arch=('x86_64')
-url="https://github.com/kovidgoyal/kitty"
-license=('GPL3')
-depends=('python3' 'freetype2' 'fontconfig' 'wayland' 'libx11' 'libxkbcommon-x11' 'libxi' 'hicolor-icon-theme' 'libgl' 'libcanberra')
-makedepends=('libxinerama' 'libxcursor' 'libxrandr' 'wayland-protocols' 'python-sphinx')
-optdepends=('imagemagick: viewing images with icat')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/kovidgoyal/$pkgname/archive/v$pkgver.tar.gz")
-sha512sums=('fb51b8182a7279aab4740f0d5cea5c1da4c6ac82845fceca221f7b9630036e1059c2c946f16815eea004e4962bf6974f3c77bfb7c90039e09852f5f36173b5c0')
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
- python3 setup.py linux-package --update-check-interval=0
-}
-
-package() {
- cd "$srcdir/$pkgname-$pkgver"
-
- cp -r linux-package "${pkgdir}"/usr
-
- # completions
- python __main__.py + complete setup bash | install -Dm644 /dev/stdin "${pkgdir}"/usr/share/bash-completion/completions/kitty
- python __main__.py + complete setup fish | install -Dm644 /dev/stdin "${pkgdir}"/usr/share/fish/vendor_completions.d/kitty.fish
- # doesn't know how to http://zsh.sourceforge.net/Doc/Release/Completion-System.html#Autoloaded-files
- # so we write our own header
- {
- echo "#compdef kitty"
- python __main__.py + complete setup zsh
- } | install -Dm644 /dev/stdin "${pkgdir}"/usr/share/zsh/site-functions/_kitty
-
- install -Dm644 "${pkgdir}"/usr/share/icons/hicolor/256x256/apps/kitty.png "${pkgdir}"/usr/share/pixmaps/kitty.png
-}
Copied: kitty/repos/community-x86_64/PKGBUILD (from rev 511445, kitty/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-09-22 00:12:42 UTC (rev 511446)
@@ -0,0 +1,53 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
+# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
+# Contributor: Fabio 'Lolix' Loli <lolix at disroot.org> -> https://github.com/FabioLolix
+# Contributor: Maximilian Kindshofer <maximilian at kindshofer.net>
+
+pkgbase=kitty
+pkgname=(kitty kitty-terminfo)
+pkgver=0.14.4
+pkgrel=2
+pkgdesc="A modern, hackable, featureful, OpenGL-based terminal emulator"
+arch=('x86_64')
+url="https://github.com/kovidgoyal/kitty"
+license=('GPL3')
+depends=('python3' 'freetype2' 'fontconfig' 'wayland' 'libx11' 'libxkbcommon-x11' 'libxi' 'hicolor-icon-theme' 'libgl' 'libcanberra')
+makedepends=('libxinerama' 'libxcursor' 'libxrandr' 'wayland-protocols' 'python-sphinx')
+optdepends=('imagemagick: viewing images with icat')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/kovidgoyal/$pkgname/archive/v$pkgver.tar.gz")
+sha512sums=('fb51b8182a7279aab4740f0d5cea5c1da4c6ac82845fceca221f7b9630036e1059c2c946f16815eea004e4962bf6974f3c77bfb7c90039e09852f5f36173b5c0')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ python3 setup.py linux-package --update-check-interval=0
+}
+
+package_kitty() {
+ depends+=('kitty-terminfo')
+
+ cd "$srcdir/$pkgname-$pkgver"
+
+ cp -r linux-package "${pkgdir}"/usr
+
+ # completions
+ python __main__.py + complete setup bash | install -Dm644 /dev/stdin "${pkgdir}"/usr/share/bash-completion/completions/kitty
+ python __main__.py + complete setup fish | install -Dm644 /dev/stdin "${pkgdir}"/usr/share/fish/vendor_completions.d/kitty.fish
+ # doesn't know how to http://zsh.sourceforge.net/Doc/Release/Completion-System.html#Autoloaded-files
+ # so we write our own header
+ {
+ echo "#compdef kitty"
+ python __main__.py + complete setup zsh
+ } | install -Dm644 /dev/stdin "${pkgdir}"/usr/share/zsh/site-functions/_kitty
+
+ install -Dm644 "${pkgdir}"/usr/share/icons/hicolor/256x256/apps/kitty.png "${pkgdir}"/usr/share/pixmaps/kitty.png
+
+ rm -r "$pkgdir"/usr/share/terminfo
+}
+
+package_kitty-terminfo() {
+ pkgdesc='Terminfo for kitty, an OpenGL-based terminal emulator'
+ depends=('ncurses')
+
+ mkdir -p "$pkgdir/usr/share/terminfo"
+ tic -x -o "$pkgdir/usr/share/terminfo" $pkgbase-$pkgver/terminfo/kitty.terminfo
+}
More information about the arch-commits
mailing list