Date: Sunday, December 22, 2019 @ 16:13:20 Author: svenstaro Revision: 538851
archrelease: copy trunk to community-x86_64 Added: kitty/repos/community-x86_64/PKGBUILD (from rev 538850, kitty/trunk/PKGBUILD) Deleted: kitty/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 106 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 53 insertions(+), 53 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-12-22 16:11:34 UTC (rev 538850) +++ PKGBUILD 2019-12-22 16:13:20 UTC (rev 538851) @@ -1,53 +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.15.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=('b508991ddd0615414380889b6e0efdf7a063714d4e430d4fb6bb8d1fc80190ff5a076755e49e19fa84d70b30ab37090c4fcc120189ab1332234b5b05d9a98c21') - -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 -} Copied: kitty/repos/community-x86_64/PKGBUILD (from rev 538850, kitty/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-12-22 16:13:20 UTC (rev 538851) @@ -0,0 +1,53 @@ +# 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.15.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=('b508991ddd0615414380889b6e0efdf7a063714d4e430d4fb6bb8d1fc80190ff5a076755e49e19fa84d70b30ab37090c4fcc120189ab1332234b5b05d9a98c21') + +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 +}