mirror of
https://github.com/Ponce/slackbuilds
synced 2024-12-02 13:04:42 +01:00
18 lines
321 B
Bash
18 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
|