mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
78eba95f4a
Signed-off-by: B. Watson <yalhcru@gmail.com>
17 lines
321 B
Bash
17 lines
321 B
Bash
#!/bin/sh
|
|
|
|
PRGNAM=calf
|
|
URL=https://github.com/calf-studio-gear/$PRGNAM.git
|
|
DATE=$( date +%Y%m%d )
|
|
|
|
rm -rf $PRGNAM
|
|
git clone $URL $PRGNAM
|
|
cd $PRGNAM
|
|
REV=$( git rev-parse --short @ )
|
|
rm -rf .git*
|
|
cd -
|
|
|
|
VERSION=$DATE.$REV
|
|
rm -rf $PRGNAM-$VERSION
|
|
mv $PRGNAM $PRGNAM-$VERSION
|
|
tar cvfJ $PRGNAM-$VERSION.tar.xz $PRGNAM-$VERSION
|