mirror of
https://github.com/Snigdha-OS/snigdhaos-pkgbuilds.git
synced 2025-09-21 20:14:59 +02:00
feat(users): add build script
This commit is contained in:
11
snigdhaos-tabliss-config/build.sh
Normal file
11
snigdhaos-tabliss-config/build.sh
Normal file
@@ -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
|
Reference in New Issue
Block a user