mirror of
https://github.com/Snigdha-OS/snigdhaos-pkgbuilds.git
synced 2025-09-22 04:25:02 +02:00

Some checks are pending
Check Conventional Commit / check-commit-message (push) Waiting to run
12 lines
307 B
Bash
12 lines
307 B
Bash
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
sourcefiles="google-chrome"
|
|
|
|
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
|