src.nth.io/

summaryrefslogtreecommitdiff
path: root/thirdparty/color-theme-solarized/makepkg.sh
diff options
context:
space:
mode:
authorLuke Hoersten <[email protected]>2012-02-13 12:46:18 -0600
committerLuke Hoersten <[email protected]>2012-02-13 12:46:18 -0600
commitd616a7006fd76725210bb97bb2b015192089d6fb (patch)
treec3a6bf9df8b8a6c2fd7b7edfa269b62835beb843 /thirdparty/color-theme-solarized/makepkg.sh
parent5bab49313c0d415a46ffd8de1f25d391ef14e8a2 (diff)
Added solarized color theme.
Diffstat (limited to 'thirdparty/color-theme-solarized/makepkg.sh')
-rwxr-xr-xthirdparty/color-theme-solarized/makepkg.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/thirdparty/color-theme-solarized/makepkg.sh b/thirdparty/color-theme-solarized/makepkg.sh
new file mode 100755
index 0000000..7c13497
--- /dev/null
+++ b/thirdparty/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