mirror of
https://github.com/haileys/bark
synced 2024-11-10 05:54:15 +00:00
add script/pkg
This commit is contained in:
parent
4edcefb898
commit
59c156e8bb
2 changed files with 8 additions and 3 deletions
6
script/pkg
Executable file
6
script/pkg
Executable file
|
@ -0,0 +1,6 @@
|
|||
#!/bin/bash
|
||||
set -euo pipefail
|
||||
cd "$(dirname "$0")/.."
|
||||
|
||||
rm -rf dist
|
||||
script/pkg-arch
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue