diff options
| author | bozo.kopic <bozo@kopic.xyz> | 2023-03-08 19:05:32 +0100 |
|---|---|---|
| committer | bozo.kopic <bozo@kopic.xyz> | 2023-03-08 19:05:32 +0100 |
| commit | e56cbcc1091c4dbe1d58e7e1705c25e4fdb64204 (patch) | |
| tree | cd664afbd684219607cfb4efa133869c0879dd2d /build.sh | |
| parent | 5c76c8ab23ba5ca51a4bc85e89c4d7bec6663087 (diff) | |
.
Diffstat (limited to 'build.sh')
| -rwxr-xr-x | build.sh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..1c0254c --- /dev/null +++ b/build.sh @@ -0,0 +1,19 @@ +#!/bin/sh + +set -e + +cd $(dirname -- "$0") + +PACKAGE=$1 + +if [ -z "$PACKAGE" -o ! -d "$PACKAGE" ]; then + echo "invalid package" 1>&2 + exit 1 +fi + +cd $PACKAGE + +export PATH=/usr/bin:$PATH + +makepkg -g +makepkg -C |
