Skip to content

Commit

Permalink
New package: ghostty-1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Duncaen committed Dec 26, 2024
1 parent cd4f385 commit 3f232d1
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions srcpkgs/ghostty/template
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>"
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"
}

2 comments on commit 3f232d1

@antomfdez
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just one issue the ./zig-out/share/themes doest seem to be copied to the correct path ~/.config/ghostty/themes

@Duncaen
Copy link
Member Author

@Duncaen Duncaen commented on 3f232d1 Dec 27, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure what you mean by this, the themes are in /usr/share/ghostty/themes/, packages can't put files into home directories without knowing the username.

Edit: Never mind, I see the issue.

Please sign in to comment.