diff --git a/snigdhaos-firefox-config/build.sh b/snigdhaos-firefox-config/build.sh new file mode 100644 index 00000000..6d6668c4 --- /dev/null +++ b/snigdhaos-firefox-config/build.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +set -e + +sourcefiles="firefox" + +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 diff --git a/snigdhaos-firefox-config/snigdhaos-firefox-config.install b/snigdhaos-firefox-config/snigdhaos-firefox-config.install new file mode 100644 index 00000000..95950f58 --- /dev/null +++ b/snigdhaos-firefox-config/snigdhaos-firefox-config.install @@ -0,0 +1,7 @@ +post_install() { + echo -e "\n** The files have been installed in /etc/skel/.mozilla/firefox **\n" +} + +post_upgrade() { + post_install +} \ No newline at end of file