Skip to content

Commit b45bf32

Browse files
author
Maciej Mazur
committed
Added Marmalade Repo support
1 parent cfa6d87 commit b45bf32

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

color-theme-solarized-pkg.el

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
(define-package "color-theme-solarized" "%%version%%" "Solarized themes for Emacs" '((color-theme "6.6.1")))

makepkg.sh

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#!/usr/bin/env bash
2+
3+
version=$1
4+
5+
if [ "$version" = "" ]; then
6+
version=$(date -u '+%Y%m%d')
7+
fi
8+
echo "version = $version"
9+
10+
dir="color-theme-solarized-${version}"
11+
12+
mkdir $dir
13+
14+
cp *.el $dir
15+
sed -i "s/%%version%%/$version/" "$dir/color-theme-solarized-pkg.el"
16+
17+
tar cf color-theme-solarized-${version}.tar $dir

0 commit comments

Comments
 (0)