mirror of
https://github.com/gwenhael-le-moine/emstar.git
synced 2024-11-16 07:48:10 +01:00
14 lines
355 B
Bash
Executable file
14 lines
355 B
Bash
Executable file
#!/bin/sh
|
|
|
|
VERSION=$(grep Version: emstar.el | sed 's|^;;[ ]*Version:[ ]*\(.*\)$|\1|g')
|
|
|
|
mkdir -p emstar-$VERSION/
|
|
cat <<EOF > emstar-$VERSION/emstar-pkg.el
|
|
(define-package "emstar" "$VERSION"
|
|
"Casual game, like a brainy Pac-Man")
|
|
EOF
|
|
|
|
cp -R emstar-levels emstar.el emstar-$VERSION/
|
|
|
|
tar cf emstar-$VERSION{.tar,}
|
|
rm -fr emstar-$VERSION/
|