ladybird/Ports/dtc/package.sh
Liav A fd62eb325e Ports: Update dtc to version 1.7.0
Also, don't use a commit hash anymore but instead use tags, which are
updated often enough.
2023-04-08 18:01:06 +03:00

15 lines
392 B
Bash
Executable file

#!/usr/bin/env -S bash ../.port_include.sh
port='dtc'
version='1.7.0'
auth_type='sha256'
files="https://github.com/dgibson/dtc/archive/refs/tags/v${version}.tar.gz dtc-${version}.tar.gz 70d9c156ec86d63de0f7bdae50540ffa492b25ec1d69491c7520845c860b9a62"
depends=('bash')
build() {
run make NO_PYTHON=1
}
install() {
run make PREFIX="${DESTDIR}" BINDIR="${DESTDIR}/usr/bin" install
}