#!/bin/sh REPO_CONF_NAME="pkg.conf" cat > pkg.conf << EOF sqlite3: { url: "file://${PWD}", enabled: yes, priority: 100 } EOF pkg -o REPOS_DIR="$PWD" -o repositories_conf="$REPO_CONF_NAME" install -y sqlite3