fpm build deb
parent
b927105959
commit
f217cd24b9
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
|
||||
|
|
|
|||
Loading…
Reference in New Issue