updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / weex / PKGBUILD
blob1b4d5ada8329184c4df45405724aa38a614fd0d1
1 # Contributor: Tom Newsom <Jeepster@gmx.co.uk>
2 # Contributor: Giorgio Lando <patroclo7@gmail.com>
4 pkgname=weex
5 pkgver=2.6.1.5
6 pkgrel=3
7 pkgdesc="A non-interactive FTP client for updating web pages"
8 arch=(i686 x86_64)
9 license=('GPL')
10 source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz \
11 weex-2.6.1.5-formatstring.patch weex-2.6.1.5-va_list.patch)
12 md5sums=('c10192608ab9f715c4c1ea63cf6ad2da' 'a12d955c5a4d6b059395a0da22942114'\
13          '522552e03b82ab5669fd21c558290691')
14 url="http://weex.sourceforge.net/"
16 build() {
17 cd $startdir/src/$pkgname-$pkgver
18 patch -Np0 -i ../weex-2.6.1.5-formatstring.patch
19 [ "$CARCH" == "x86_64" ] && patch -Np0 -i ../weex-2.6.1.5-va_list.patch
20 ./configure --prefix=/usr
21 make || return 1
22 make prefix=$startdir/pkg/usr install