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
commitd0dac239a25e94c904a3cd19eca62f80036bec4f (patch)
treec3a6bf9df8b8a6c2fd7b7edfa269b62835beb843 /thirdparty/color-theme-solarized/makepkg.sh
parentc1a748bd640aeeb1aef0a289f5b05519a46421d8 (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