diff --git a/srcpkgs/ghostty/template b/srcpkgs/ghostty/template new file mode 100644 index 00000000000000..142aa043def4f0 --- /dev/null +++ b/srcpkgs/ghostty/template @@ -0,0 +1,20 @@ +# Template file for 'ghostty' +pkgname=ghostty +version=1.0.0 +revision=1 +build_style=zig-build +configure_args="-Doptimize=ReleaseFast -Dpie" +hostmakedepends="pkg-config" +makedepends="gtk4-devel libadwaita-devel" +short_desc="Fast and feature-rich terminal emulator that uses GPU acceleration" +maintainer="Duncaen " +license="MIT" +homepage="https://ghostty.org/" +distfiles="https://github.com/ghostty-org/ghostty/archive/refs/tags/v${version}.tar.gz" +checksum=bd12953c8bbe7149e2f94e7e578a88e981932a69aa483f5ce9a2cfba726e0015 + +post_install() { + vlicense LICENSE + rm -f "${DESTDIR}/usr/share/man/.placeholder" + tic -o "${DESTDIR}/usr/share/terminfo" -x "${DESTDIR}/usr/share/terminfo/ghostty.terminfo" +}