diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2018-09-18 12:32:17 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2018-09-18 12:32:22 +0000 |
commit | e92aa33faabf34cb07096c8f98360c38f969116a (patch) | |
tree | ac420a6a3867b9674a702ac38945b6b5b93a93a4 /testing/kitty/APKBUILD | |
parent | 1e37aadb099c0886eb2a345ee5eb747ec1a47116 (diff) | |
download | aports-e92aa33faabf34cb07096c8f98360c38f969116a.tar.bz2 aports-e92aa33faabf34cb07096c8f98360c38f969116a.tar.xz |
testing/kitty: new aport
Diffstat (limited to 'testing/kitty/APKBUILD')
-rw-r--r-- | testing/kitty/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/kitty/APKBUILD b/testing/kitty/APKBUILD new file mode 100644 index 0000000000..78ad1f9799 --- /dev/null +++ b/testing/kitty/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: Francesco Colista <fcolista@alpinelinux.org> +# Maintainer: Francesco Colista <fcolista@alpinelinux.org> +pkgname=kitty +pkgver=0.12.1 +pkgrel=0 +pkgdesc="A modern, hackable, featureful, OpenGL based terminal emulator" +url="https://sw.kovidgoyal.net/kitty/" +arch="all" +license="GPL-3.0" +#some test fails, disabled for now: +#ERROR: test_box_drawing +#ERROR: test_emoji_presentation +#ERROR: test_font_rendering +#ERROR: test_shaping +#ERROR: test_sprite_map +options="!check" +depends="py3-pygments imagemagick ncurses" +makedepends="py3-setuptools harfbuzz-dev zlib-dev libpng-dev freetype-dev + fontconfig-dev mesa-dev python3-dev dbus-dev libxi-dev + libxkbcommon-dev libxrandr-dev libxinerama-dev libxcursor-dev + wayland-protocols wayland-dev py-sphinx" +subpackages="$pkgname-doc" +source="$pkgname-$pkgver.tar.gz::https://github.com/kovidgoyal/$pkgname/archive/v$pkgver.tar.gz" +builddir="$srcdir/$pkgname-$pkgver" + +build() { + cd "$builddir" + python3 setup.py linux-package +} + +check() { + cd "$builddir" + python3 setup.py test +} + +package() { + cd "$builddir" + python3 setup.py linux-package --prefix ${pkgdir}/usr +} + +sha512sums="3efdc2ee9d41cddda7ff033fa69531ce48a163ef4b6efa7c5f10ca20511046c26313115383aec6bcef1b2a0fbbac19b2de9a43835130624aada48e12fe54b7df kitty-0.12.1.tar.gz" |