slackbuilds/a/exfat/get_sources.sh
Michal Cieslakiewicz e9571a1fa6 Initial commit.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
2020-04-16 19:31:17 +02:00

7 lines
328 B
Bash
Executable File

git clone https://github.com/relan/exfat.git
( cd exfat && autoreconf --install )
VERSION=`egrep "^[[:space:]]*VERSION[[:space:]]*='[0-9\.]+'$" exfat/configure | cut -d= -f2 | sed -e "s:'::g"`
mv exfat exfat-$VERSION
tar cf - exfat-$VERSION | xz -c9 > exfat-$VERSION.tar.xz
[ -s exfat-$VERSION.tar.xz ] && rm -rf exfat-$VERSION