Con una riga ottengo sempre l’ultima versione dei tarball pubblicati, dei sorgenti della svn di aMule. Ho gia pubblicato come commento l’intero PKGBUILD su AUR anche se si tratta solo di una riga, cioè solo pkgver.
Btw, me la segno qui per memo:
pkgver="$(wget -q "http://amule.uw.hu/tarballs/tarballs.xml" -O- | awk -F "'" '/revision/ {field = $2}; END{print field }')"

BB.

Share

  4 Responses to “amule-cvs & pkgver”

  1. we dario, quand’è che ti converti anche tu a mldonkey? :D
    supporta anche i server multipli!

  2. t’ho vedi un pò chi passa da queste parti! quel debianaro di pasquale! mldonkey l’ho provato svariato tempo fa, mi ricordo che c’era da smanettare con le config e non mi ingozzava farlo :D vabè, se mi gira ci riprovo :D

  3. update: pkgver=”$(wget -q “http://amule.uw.hu/tarballs/tarballs.xml” -O- | grep -v branch | awk -F “‘” ‘/revision/ {field = $2}; END{print field }’)”

  4. $ cat myamulechecking
    #!/bin/bash
    #tadah=$(wget -q “http://amule.uw.hu/tarballs/tarballs.xml” -O- | grep -v branch | awk -F “‘” ‘/revision/ {field = $2}; END{print field }’)
    tadah=$(wget -q “http://amule.uw.hu/tarballs/tarballs.xml” -O- | awk -F “‘” ‘/youngest/ {field = $4}; END{print field }’)
    echo [LOCAL=$(pacman -Q amule-cvs | awk {'print $2'})] [REPO=$(pacman -Sl deelab | grep amule-cvs | awk {'print $3'})] [SOURCE=$tadah]

 Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

   
© 2011 deelab.org Suffusion theme by Sayontan Sinha