Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions pkgbuilds/omarchy-dev/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -94,16 +94,16 @@ prepare() {
package() {
cd "$srcdir/omarchy"

# Runtime binaries — ship everything in bin/ except the debug helpers
# that ship from omarchy-settings (needed before omarchy is installed,
# e.g. on the ISO live env).
# Runtime binaries — omarchy-settings-dev owns the debug helpers and their
# shared security library because they are needed before omarchy-dev is
# installed (for example, in the ISO live environment).
install -d "$pkgdir/usr/bin" "$pkgdir/usr/share/omarchy/bin"
for bin in bin/*; do
[[ -f $bin ]] || continue
local base
base=$(basename "$bin")
case "$base" in
omarchy-debug|omarchy-debug-idle|omarchy-upload-log)
omarchy-debug|omarchy-debug-idle|omarchy-upload-log|omarchy-security-functions)
continue
;;
esac
Expand Down
6 changes: 6 additions & 0 deletions pkgbuilds/omarchy-settings-dev/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -351,4 +351,10 @@ EOF
install -Dm755 bin/omarchy-upload-log "$pkgdir/usr/bin/omarchy-upload-log"
install -Dm755 bin/omarchy-debug "$pkgdir/usr/bin/omarchy-debug"
install -Dm755 bin/omarchy-debug-idle "$pkgdir/usr/bin/omarchy-debug-idle"
if [[ -f bin/omarchy-security-functions ]]; then
install -Dm755 bin/omarchy-security-functions "$pkgdir/usr/bin/omarchy-security-functions"
install -d "$pkgdir/usr/share/omarchy/bin"
ln -s /usr/bin/omarchy-security-functions \
"$pkgdir/usr/share/omarchy/bin/omarchy-security-functions"
fi
}
6 changes: 6 additions & 0 deletions pkgbuilds/omarchy-settings/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -346,4 +346,10 @@ EOF
install -Dm755 bin/omarchy-upload-log "$pkgdir/usr/bin/omarchy-upload-log"
install -Dm755 bin/omarchy-debug "$pkgdir/usr/bin/omarchy-debug"
install -Dm755 bin/omarchy-debug-idle "$pkgdir/usr/bin/omarchy-debug-idle"
if [[ -f bin/omarchy-security-functions ]]; then
install -Dm755 bin/omarchy-security-functions "$pkgdir/usr/bin/omarchy-security-functions"
install -d "$pkgdir/usr/share/omarchy/bin"
ln -s /usr/bin/omarchy-security-functions \
"$pkgdir/usr/share/omarchy/bin/omarchy-security-functions"
fi
}
8 changes: 4 additions & 4 deletions pkgbuilds/omarchy/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -94,16 +94,16 @@ prepare() {
package() {
cd "$srcdir/omarchy"

# Runtime binaries — ship everything in bin/ except the debug helpers
# that ship from omarchy-settings (needed before omarchy is installed,
# e.g. on the ISO live env).
# Runtime binaries — omarchy-settings owns the debug helpers and their
# shared security library because they are needed before omarchy is installed
# (for example, in the ISO live environment).
install -d "$pkgdir/usr/bin" "$pkgdir/usr/share/omarchy/bin"
for bin in bin/*; do
[[ -f $bin ]] || continue
local base
base=$(basename "$bin")
case "$base" in
omarchy-debug|omarchy-debug-idle|omarchy-upload-log)
omarchy-debug|omarchy-debug-idle|omarchy-upload-log|omarchy-security-functions)
continue
;;
esac
Expand Down