From 78316f7aa073c830b59ab198919912b40619b2bb Mon Sep 17 00:00:00 2001 From: "Eshan Roy (Eshanized)" Date: Thu, 2 May 2024 11:39:06 +0530 Subject: [PATCH] feat(users): add build script --- snigdhaos-tabliss-config/build.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 snigdhaos-tabliss-config/build.sh diff --git a/snigdhaos-tabliss-config/build.sh b/snigdhaos-tabliss-config/build.sh new file mode 100644 index 00000000..4c343d30 --- /dev/null +++ b/snigdhaos-tabliss-config/build.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +set -e + +sourcefiles="usr" + +pkgname=$(grep "^pkgname=" PKGBUILD | awk -F"=" '{print $2}') +pkgrel=$(grep "^pkgrel=" PKGBUILD | awk -F"=" '{split($2,a," ");gsub(/"/, "", a[1]);print a[1]}') +arch=$(grep "^arch=" PKGBUILD | awk -F"'" '{print $2}') + +tar -zcvf $pkgname.tar.gz $sourcefiles