mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
40 lines
1.6 KiB
Bash
40 lines
1.6 KiB
Bash
# Maintainer: Sven-Hendrik Haase <svenstaro@gmail.com>
|
|
# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
|
|
# Contributor: Fabio 'Lolix' Loli <lolix@disroot.org> -> https://github.com/FabioLolix
|
|
# Contributor: Maximilian Kindshofer <maximilian@kindshofer.net>
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
# - patch to remove lto from hardcoded cflags
|
|
|
|
pkgname=kitty
|
|
pkgver=0.14.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' 'hicolor-icon-theme' 'libgl')
|
|
makedepends=('pkg-config' 'python-setuptools' 'libxinerama' 'libxcursor' 'libxrandr' 'libxkbcommon' 'glfw-x11' 'wayland-protocols' 'mesa' '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')
|
|
sha512sums=('5ca53f127b7291690154835615cee2ce1a9228e9ecfb18b8b850db5d99999e0ca7d5111b068877e34d73cc2f020779a9f9ad1974a20fec7e499ee1265b67b68b'
|
|
'1ca2b72394ea58500da497e0decf60ded2d2ed94451b63f3c7fe89710a58160d55e637ae194c62706457e1fe99356b078050289f74b2e4d4a5450620e16e0d73')
|
|
|
|
prepare() {
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
patch -p1 -i ../0001-remove-lto.patch
|
|
}
|
|
|
|
build() {
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
python3 setup.py linux-package
|
|
}
|
|
|
|
package() {
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
|
|
python3 setup.py linux-package --prefix ${pkgdir}/usr
|
|
|
|
install -Dm644 ${pkgdir}/usr/share/icons/hicolor/256x256/apps/kitty.png ${pkgdir}/usr/share/pixmaps/kitty.png
|
|
}
|