andykimpe / rpms / 389-ds-base

Forked from rpms/389-ds-base 6 months ago
Clone
b682e9
#!/bin/bash
b682e9
b682e9
DATE=`date +%Y%m%d`
b682e9
# use a real tag name here
b682e9
VERSION=1.3.5.14
b682e9
PKGNAME=389-ds-base
b682e9
TAG=${TAG:-$PKGNAME-$VERSION}
b682e9
URL="https://git.fedorahosted.org/git/?p=389/ds.git;a=snapshot;h=$TAG;sf=tgz"
b682e9
SRCNAME=$PKGNAME-$VERSION
b682e9
b682e9
wget -O $SRCNAME.tar.gz "$URL"
b682e9
b682e9
echo convert tgz format to tar.bz2 format
b682e9
b682e9
gunzip $PKGNAME-$VERSION.tar.gz
b682e9
bzip2 $PKGNAME-$VERSION.tar