aboutsummaryrefslogtreecommitdiff
path: root/home/.emacs.d/themes/emacs-color-theme-solarized/makepkg.sh
diff options
context:
space:
mode:
Diffstat (limited to 'home/.emacs.d/themes/emacs-color-theme-solarized/makepkg.sh')
-rwxr-xr-xhome/.emacs.d/themes/emacs-color-theme-solarized/makepkg.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/home/.emacs.d/themes/emacs-color-theme-solarized/makepkg.sh b/home/.emacs.d/themes/emacs-color-theme-solarized/makepkg.sh
new file mode 100755
index 0000000..7c13497
--- /dev/null
+++ b/home/.emacs.d/themes/emacs-color-theme-solarized/makepkg.sh
@@ -0,0 +1,17 @@
+#!/usr/bin/env bash
+
+version=$1
+
+if [ "$version" = "" ]; then
+ version=$(date -u '+%Y%m%d')
+fi
+echo "version = $version"
+
+dir="color-theme-solarized-${version}"
+
+mkdir $dir
+
+cp *.el $dir
+sed -i "s/%%version%%/$version/" "$dir/color-theme-solarized-pkg.el"
+
+tar cf color-theme-solarized-${version}.tar $dir