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
|
cp zig-out/bin/ghostty ${HOME}/bin/devtty
|
||||||
.PHONY: dev/install
|
.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
|
# 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.
|
# in this directory next to the Makefile, remove vendor/glad and run this target.
|
||||||
#
|
#
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,7 @@
|
||||||
{ mkShell, lib, stdenv
|
{ mkShell, lib, stdenv
|
||||||
|
|
||||||
|
, dpkg
|
||||||
|
, fpm
|
||||||
, gdb
|
, gdb
|
||||||
, glxinfo
|
, glxinfo
|
||||||
, nodejs
|
, nodejs
|
||||||
|
|
@ -64,6 +66,8 @@ in mkShell rec {
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
# For builds
|
# For builds
|
||||||
|
dpkg
|
||||||
|
fpm
|
||||||
llvmPackages_latest.llvm
|
llvmPackages_latest.llvm
|
||||||
pkg-config
|
pkg-config
|
||||||
scdoc
|
scdoc
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue