mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
39 lines
1.6 KiB
Bash
39 lines
1.6 KiB
Bash
# Maintainer: Sven-Hendrik Haase <svenstaro@gmail.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.12.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' '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=('f854f61bd95b6a33de8c27e2c7edbd6a5257d817fadacb5341940e9cb0017031cd3f08300d3dab4866b20e53987fb7f59385dcd772b2abd2aced86df171e6de7'
|
|
'61d225a073bd03bf916d41254132025cee4744899c44ac195a039065b345301fdbca6ed5f5ac2328431c3122b4dce6ec8f5057aaddf25e4ea3f2fdc86ce9486f')
|
|
|
|
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
|
|
}
|