Skip to content

Instantly share code, notes, and snippets.

@petems
Last active December 22, 2015 00:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save petems/6390389 to your computer and use it in GitHub Desktop.
Save petems/6390389 to your computer and use it in GitHub Desktop.
Seyren to .deb file using FPM
#Since Seyren doesn't have versioning, use Github SHA's so you can see what revision it is...
SEYREN_SHA="5642a0c18425ee760a9f11d63d39a81e16742660"
echo "[Building Seyren Deb]"
rm -rf build/seyren/
git clone -q -b master https://github.com/scobal/seyren build/seyren;
cd build/seyren
git checkout -q $SEYREN_SHA
mvn clean package -q
cd ..
fpm -s dir -t deb -n seyren --deb-field "GithubSHA:$(SEYREN_SHA)" -a all -v 0.1 --prefix /opt seyren
echo "[Seyren Deb Build Complete]"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment