mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
community/kitty to 0.14.2-2
This commit is contained in:
parent
f60119280f
commit
4778f5aa09
1 changed files with 16 additions and 6 deletions
|
@ -8,13 +8,13 @@
|
|||
|
||||
pkgname=kitty
|
||||
pkgver=0.14.2
|
||||
pkgrel=1
|
||||
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' 'hicolor-icon-theme' 'libgl')
|
||||
makedepends=('pkg-config' 'python-setuptools' 'libxinerama' 'libxcursor' 'libxrandr' 'libxkbcommon' 'glfw-x11' 'wayland-protocols' 'mesa' 'python-sphinx')
|
||||
depends=('python3' 'freetype2' 'fontconfig' 'wayland' 'libx11' 'libxkbcommon-x11' 'libxi' 'hicolor-icon-theme' 'libgl')
|
||||
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"
|
||||
'0001-remove-lto.patch')
|
||||
|
@ -28,13 +28,23 @@ prepare() {
|
|||
|
||||
build() {
|
||||
cd "$srcdir/$pkgname-$pkgver"
|
||||
python3 setup.py linux-package
|
||||
python3 setup.py linux-package --update-check-interval=0
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/$pkgname-$pkgver"
|
||||
|
||||
python3 setup.py linux-package --prefix ${pkgdir}/usr
|
||||
cp -r linux-package "${pkgdir}"/usr
|
||||
|
||||
install -Dm644 ${pkgdir}/usr/share/icons/hicolor/256x256/apps/kitty.png ${pkgdir}/usr/share/pixmaps/kitty.png
|
||||
# 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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue