# HG changeset patch # User Antoine Bodin # Date 1297634276 -3600 # Node ID 12eaed8b0078319d16f08750d30eed2c88f7b3bf # Parent 03a5c535ba51e36ad558c02ca2367f09e557b138 imported patch get/shell-fm diff -r 03a5c535ba51 -r 12eaed8b0078 shell-fm/receipt --- a/shell-fm/receipt Sun Feb 13 22:57:56 2011 +0100 +++ b/shell-fm/receipt Sun Feb 13 22:57:56 2011 +0100 @@ -8,21 +8,12 @@ DEPENDS="libmad libao taglib zlib" BUILD_DEPENDS="libmad-dev libao-dev libao git pkg-config" WEB_SITE="http://nex.scrapping.cc/shell-fm/" +WGET_URL="git|git://github.com/jkramer/shell-fm.git" +BRANCH="v${VERSION}" # Rules to configure and make the package. compile_rules() { - [ -d "$PACKAGE-$VERSION" ] && rm -rf $PACKAGE-$VERSION - TARBALL=$SOURCES_REPOSITORY/$PACKAGE-$VERSION.tar.gz - if [ -f $TARBALL ]; then - tar xzf $TARBALL - else - echo "Cloning revision $VERSION from git repository..." - git clone git://github.com/jkramer/shell-fm.git $PACKAGE-$VERSION - cd $PACKAGE-$VERSION && git checkout v${VERSION} - cd $WOK/$PACKAGE && tar czf $TARBALL $PACKAGE-$VERSION - fi - cd $src make && make DESTDIR=$PWD/_pkg install