We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 53a7d33 commit 2468793Copy full SHA for 2468793
1 file changed
steps/payload-import-1.0/pass1.sh
@@ -1,17 +1,21 @@
1
-#!/bin/sh
+#!/bin/bash
2
#
3
# SPDX-FileCopyrightText: 2026 live-bootstrap contributors
4
# SPDX-License-Identifier: MIT
5
6
-set -ex
+src_get() {
7
+ :
8
+}
9
-cd src
-gcc -m32 -march=i386 -std=c89 -static -o ${BINDIR}/payload-import payload-import.c
10
-cd ..
+src_unpack() {
11
+ dirname=.
12
+ cp -r ../src .
13
14
-if match x${UPDATE_CHECKSUMS} xTrue; then
- sha256sum -o ${pkg}.checksums \
- /usr/bin/payload-import
15
+src_compile() {
16
+ gcc -m32 -march=i386 -std=c89 -static -o payload-import src/payload-import.c
17
18
- cp ${pkg}.checksums ${SRCDIR}
-fi
19
+src_install() {
20
+ install -D payload-import "${DESTDIR}${BINDIR}/payload-import"
21
0 commit comments