Skip to content

Commit

Permalink
add script/pkg
Browse files Browse the repository at this point in the history
  • Loading branch information
haileys committed Mar 8, 2024
1 parent 4edcefb commit 59c156e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
6 changes: 6 additions & 0 deletions script/pkg
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash
set -euo pipefail
cd "$(dirname "$0")/.."

rm -rf dist
script/pkg-arch
5 changes: 2 additions & 3 deletions script/pkg-arch
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
#!/bin/bash
set -euo pipefail

cd "$(dirname "$0")/../pkg/arch"

# reset
rm -rf pkg
rm *.pkg.tar.zst
rm -f *.pkg.tar.zst

# build
makepkg --nodeps --force --clean
makepkg --force --clean

# copy built package into dist dir in the repo root
mkdir -p ../../dist
Expand Down

0 comments on commit 59c156e

Please sign in to comment.