mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-17 09:16:11 +03:00
fpm build deb
This commit is contained in:
9
Makefile
9
Makefile
@ -11,6 +11,15 @@ dev/install:
|
||||
cp zig-out/bin/ghostty ${HOME}/bin/devtty
|
||||
.PHONY: dev/install
|
||||
|
||||
# Create a binary deb. This isn't meant for general purpose use. This is just
|
||||
# for testing. General purpose should use a real package manager (I don't
|
||||
# maintain it at the moment).
|
||||
deb:
|
||||
rm -rf zig-out/
|
||||
zig build -Doptimize=ReleaseFast
|
||||
fpm -C zig-out/ -s dir -t deb -n ghostty --prefix /usr ./
|
||||
.PHONY: deb
|
||||
|
||||
# glad updates the GLAD loader. To use this, place the generated glad.zip
|
||||
# in this directory next to the Makefile, remove vendor/glad and run this target.
|
||||
#
|
||||
|
@ -1,5 +1,7 @@
|
||||
{ mkShell, lib, stdenv
|
||||
|
||||
, dpkg
|
||||
, fpm
|
||||
, gdb
|
||||
, glxinfo
|
||||
, nodejs
|
||||
@ -64,6 +66,8 @@ in mkShell rec {
|
||||
|
||||
nativeBuildInputs = [
|
||||
# For builds
|
||||
dpkg
|
||||
fpm
|
||||
llvmPackages_latest.llvm
|
||||
pkg-config
|
||||
scdoc
|
||||
|
Reference in New Issue
Block a user