Date: Tuesday, March 24, 2020 @ 17:18:36 Author: maximbaz Revision: 603871
archrelease: copy trunk to community-x86_64 Added: kitty/repos/community-x86_64/PKGBUILD (from rev 603870, kitty/trunk/PKGBUILD) Deleted: kitty/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 110 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 55 insertions(+), 55 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-03-24 17:18:31 UTC (rev 603870) +++ PKGBUILD 2020-03-24 17:18:36 UTC (rev 603871) @@ -1,55 +0,0 @@ -# Maintainer: Sven-Hendrik Haase <svenst...@gmail.com> -# Maintainer: Maxim Baz <$pkgname at maximbaz dot com> -# Contributor: Fabio 'Lolix' Loli <lo...@disroot.org> -> https://github.com/FabioLolix -# Contributor: Maximilian Kindshofer <maximil...@kindshofer.net> - -pkgbase=kitty -pkgname=(kitty kitty-terminfo) -pkgver=0.17.0 -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=('30718d143da7f7825f992e90cd38d2743e03821c1d0bddac3cdebb7d308848f9dd271c203e9615d9ea77c7cc0c9621dd2c53d845f19a5f1d12afe63179996dd2') - -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 - - install -Dm644 docs/generated/conf/kitty.conf "${pkgdir}"/usr/share/doc/${pkgname}/kitty.conf -} - -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 -} Copied: kitty/repos/community-x86_64/PKGBUILD (from rev 603870, kitty/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-03-24 17:18:36 UTC (rev 603871) @@ -0,0 +1,55 @@ +# Maintainer: Sven-Hendrik Haase <svenst...@gmail.com> +# Maintainer: Maxim Baz <$pkgname at maximbaz dot com> +# Contributor: Fabio 'Lolix' Loli <lo...@disroot.org> -> https://github.com/FabioLolix +# Contributor: Maximilian Kindshofer <maximil...@kindshofer.net> + +pkgbase=kitty +pkgname=(kitty kitty-terminfo) +pkgver=0.17.1 +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=('e7de00bbbba2172f3e7dba1809135b044f20f89ee156b1c6b7121a13f7589413cc9b2a264b30d2ab3e8cb9265a5291f3c932961b034e216735ec6704c5445200') + +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 + + install -Dm644 docs/generated/conf/kitty.conf "${pkgdir}"/usr/share/doc/${pkgname}/kitty.conf +} + +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 +}