lio packages: use curl instead of wget

Most people using the AUR have wget installed,
but it is not part of base-devel so an additional makedep.

curl is a dependency of pacman, so we use that.
This commit is contained in:
Johannes Dewender 2013-02-18 13:28:03 +01:00
parent d6e0f8b9fe
commit 690934a3eb
2 changed files with 3 additions and 3 deletions

View file

@ -1,7 +1,7 @@
pkgbase = python2-configshell
pkgdesc = python framework for building simple CLI-based applications
pkgver = 1.1
pkgrel = 4
pkgrel = 5
url = http://www.risingtidesystems.com/git/?p=configshell.git;a=summary
arch = any
license = AGPL3

View file

@ -1,7 +1,7 @@
# Contributor: Johannes Dewender arch at JonnyJD dot net
pkgname=python2-configshell
pkgver=1.1
pkgrel=4
pkgrel=5
epoch=
pkgdesc="python framework for building simple CLI-based applications"
arch=('any')
@ -18,7 +18,7 @@ _pkgname=configshell
build() {
if [ ! -e "$_pkgname-$pkgver.tgz" ]; then
wget "http://www.risingtidesystems.com/git/?p=$_pkgname.git;a=snapshot;h=3ba5560219d7ae8545ce825f4ba778b5c2c90893;sf=tgz" -O "$_pkgname-$pkgver.tgz"
curl -flC - "http://www.risingtidesystems.com/git/?p=$_pkgname.git;a=snapshot;h=3ba5560219d7ae8545ce825f4ba778b5c2c90893;sf=tgz" -o "$_pkgname-$pkgver.tgz"
fi
bsdtar -xf "$srcdir/$_pkgname-$pkgver.tgz"
cd "$srcdir/$_pkgname"