mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
community/kitty to 0.14.4-2
This commit is contained in:
parent
2ab687e182
commit
19c6b2e694
1 changed files with 17 additions and 4 deletions
|
@ -6,10 +6,11 @@
|
||||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||||
# - patch to remove lto from hardcoded cflags
|
# - patch to remove lto from hardcoded cflags
|
||||||
|
|
||||||
pkgname=kitty
|
pkgbase=kitty
|
||||||
|
pkgname=(kitty kitty-terminfo)
|
||||||
pkgver=0.14.4
|
pkgver=0.14.4
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc="A modern, hackable, featureful, OpenGL based terminal emulator"
|
pkgdesc="A modern, hackable, featureful, OpenGL-based terminal emulator"
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
url="https://github.com/kovidgoyal/kitty"
|
url="https://github.com/kovidgoyal/kitty"
|
||||||
license=('GPL3')
|
license=('GPL3')
|
||||||
|
@ -31,7 +32,9 @@ build() {
|
||||||
python3 setup.py linux-package --update-check-interval=0
|
python3 setup.py linux-package --update-check-interval=0
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package_kitty() {
|
||||||
|
depends+=('kitty-terminfo')
|
||||||
|
|
||||||
cd "$srcdir/$pkgname-$pkgver"
|
cd "$srcdir/$pkgname-$pkgver"
|
||||||
|
|
||||||
cp -r linux-package "${pkgdir}"/usr
|
cp -r linux-package "${pkgdir}"/usr
|
||||||
|
@ -47,4 +50,14 @@ package() {
|
||||||
} | install -Dm644 /dev/stdin "${pkgdir}"/usr/share/zsh/site-functions/_kitty
|
} | 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
|
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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue