summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Mueller2014-07-07 22:46:21 +0200
committerAaron Mueller2014-07-07 22:46:21 +0200
commit76b625b68889745aed6b199632c00f28861d41f8 (patch)
tree31bafc039f3f838867842a4eb7f05afc47794010
parent05ff3836d413bc0ca8d5bb36e25639066ab607be (diff)
downloadaur-76b625b68889745aed6b199632c00f28861d41f8.tar.gz
Fix the weex package
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD9
2 files changed, 11 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e4d666faefd3..e30a75d29200 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,17 @@
pkgbase = weex
pkgdesc = A non-interactive FTP client for updating web pages
pkgver = 2.6.1.5
- pkgrel = 4
+ pkgrel = 5
url = http://weex.sourceforge.net/
arch = i686
arch = x86_64
license = GPL
source = http://downloads.sourceforge.net/sourceforge/weex/weex-2.6.1.5.tar.gz
+ source = http://git.sv.gnu.org/gitweb/?p=gnulib.git;a=blob_plain;f=lib/regex.h
source = weex-2.6.1.5-formatstring.patch
source = weex-2.6.1.5-va_list.patch
md5sums = c10192608ab9f715c4c1ea63cf6ad2da
+ md5sums = 63dc5065aa90e787153804229e7da1c2
md5sums = a12d955c5a4d6b059395a0da22942114
md5sums = 522552e03b82ab5669fd21c558290691
diff --git a/PKGBUILD b/PKGBUILD
index 6cbaa69a910a..69861392eead 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,22 +4,29 @@
pkgname=weex
pkgver=2.6.1.5
-pkgrel=4
+pkgrel=5
pkgdesc="A non-interactive FTP client for updating web pages"
arch=(i686 x86_64)
license=("GPL")
source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz"
+ "http://git.sv.gnu.org/gitweb/?p=gnulib.git;a=blob_plain;f=lib/regex.h"
"weex-2.6.1.5-formatstring.patch"
"weex-2.6.1.5-va_list.patch")
md5sums=("c10192608ab9f715c4c1ea63cf6ad2da"
+ "63dc5065aa90e787153804229e7da1c2"
"a12d955c5a4d6b059395a0da22942114"
"522552e03b82ab5669fd21c558290691")
url="http://weex.sourceforge.net/"
build() {
cd $startdir/src/$pkgname-$pkgver
+
patch -Np0 -i ../weex-$pkgver-formatstring.patch
[ "$CARCH" == "x86_64" ] && patch -Np0 -i ../weex-$pkgver-va_list.patch
+
+ # Fix the missing header file, hanks to mibli.
+ cp $startdir/src/regex.h $startdir/src/$pkgname-$pkgver/lib_regex.h
+
./configure --prefix=/usr
make || return 1
make prefix=$startdir/pkg/usr install