commit 4b0ebb8
chld
·
2026-08-22 14:50:33 +0000 UTC
parent 4397260
init foot
3 files changed,
+35,
-0
+0,
-0
+6,
-0
1@@ -0,0 +1,6 @@
2+name: foot
3+description: a modern terminal for wayland
4+license: MIT
5+upstream:
6+version: 1.27.0
7+maintainer: chld
+29,
-0
1@@ -0,0 +1,29 @@
2+#!/bin/sh -ue
3+NAME=foot
4+VERSION=1.27.0
5+RELEASE=1
6+SOURCE="https://codeberg.org/dnkl/foot/releases/download/1.27.0/foot-1.27.0.tar.gz"
7+build(){
8+ CFLAGS='-static' LDFLAGS='-static' ./configure \
9+ --prefix=/ \
10+ --bindir=/bin \
11+ --sbindir=/bin \
12+ --libdir=/lib \
13+ --includedir=/include \
14+ --sysconfdir=/etc \
15+ --disable-lto \
16+ --without-gnu-ld \
17+ --disable-libunistring \
18+ --enable-dependency-tracking \
19+ --enable-static \
20+ --disable-libtool-loc \
21+ --enable-jit=no \
22+ --disable-nls \
23+ --enable-mini-gmp \
24+ --without-libiconv || die "configure failed"
25+
26+ gmake PREFIX="$PREFIX" DESTDIR="$PKG" CFLAGS='-static' LDFLAGS='-static' -j"$NPROC" || die "build failed"
27+ gmake DESTDIR="$PKG" install || die "gmake install failed"
28+
29+}
30+. ${0%/*}/../../libsh/libdmake.sh