mirror of
https://github.com/gwenhael-le-moine/emstar.git
synced 2024-12-27 09:59:31 +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/
|