summaryrefslogtreecommitdiff
path: root/add_package.sh
diff options
context:
space:
mode:
authorxengineering <mail2xengineering@protonmail.com>2020-09-10 18:24:18 +0200
committerxengineering <mail2xengineering@protonmail.com>2020-09-10 18:24:18 +0200
commit01e214708017ca5b182bdda6578804172506d4a5 (patch)
tree7b1300400b8a1bc16ba2d640a39a96d4d63b26c1 /add_package.sh
parenta1aebb641f56a2c970ea9c1bd25bacc4143a578b (diff)
downloadpkgbuilds-01e214708017ca5b182bdda6578804172506d4a5.tar
pkgbuilds-01e214708017ca5b182bdda6578804172506d4a5.tar.zst
pkgbuilds-01e214708017ca5b182bdda6578804172506d4a5.zip
Write Documentation for Utils
Diffstat (limited to 'add_package.sh')
-rwxr-xr-xadd_package.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/add_package.sh b/add_package.sh
index 98150cb..8cad456 100755
--- a/add_package.sh
+++ b/add_package.sh
@@ -1,9 +1,9 @@
#!/bin/bash
-REPO=$1
-ARCH=$2
-PKG=$3
+REPO=$1 # provide repository name (e.g. 'xengineering') as first argument
+ARCH=$2 # provide architecture (e.g. 'aarch64' or 'x86_64') as second argument
+PKG=$3 # provide path to package (e.g. 'xengineering-base-meta/xengineering-base-meta-1.0.0-1-any.pkg.tar.zst') as third argument
PREFIX="repos/$REPO/os/$ARCH"
DATABASE="$PREFIX/$REPO.db"