diff options
author | root <root@rshg054.dnsready.net> | 2011-08-02 04:35:55 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-08-02 04:35:55 +0000 |
commit | bf35116f9d203dcafce808a6c7b3dd5a0db8afbc (patch) | |
tree | f9551a1d3c67d2113cc5fc5c3f8816bcbaad0540 /community/sword | |
parent | 1173ff2dba7d0fd3c45f170a5e353a76b7a5da2f (diff) |
Tue Aug 2 04:35:55 UTC 2011
Diffstat (limited to 'community/sword')
-rw-r--r-- | community/sword/PKGBUILD | 19 | ||||
-rw-r--r-- | community/sword/curl.patch | 22 |
2 files changed, 33 insertions, 8 deletions
diff --git a/community/sword/PKGBUILD b/community/sword/PKGBUILD index a101bb01d..e79d84f26 100644 --- a/community/sword/PKGBUILD +++ b/community/sword/PKGBUILD @@ -1,23 +1,26 @@ -# $Id: PKGBUILD 49750 2011-06-20 22:08:06Z andrea $ +# $Id: PKGBUILD 52657 2011-07-26 22:56:39Z shusmann $ # Maintainer: Stefan Husmann <stefan-husmann@t-online.de> # Contributor: TripleE <eric1548@yahoo.com> pkgname=sword pkgver=1.6.2 -pkgrel=4 -pkgdesc="SWORD libraries for Bible programs" +pkgrel=5 +pkgdesc="Libraries for Bible programs" arch=('i686' 'x86_64') url="http://www.crosswire.org/sword/index.jsp" license=('GPL') -depends=('curl' 'icu' 'clucene' 'swig') +depends=('curl' 'clucene' 'swig') makedepends=('cmake') backup=('etc/sword.conf') -source=("http://www.crosswire.org/ftpmirror/pub/${pkgname}/source/v1.6/${pkgname}-${pkgver}.tar.gz") -md5sums=('a7dc4456e20e915fec46d774b690e305') +source=("http://www.crosswire.org/ftpmirror/pub/${pkgname}/source/v1.6/${pkgname}-${pkgver}.tar.gz" curl.patch) +md5sums=('a7dc4456e20e915fec46d774b690e305' + 'e84a226ce3697af33b9fdd9a22884a2a') build() { - cd "${srcdir}" - mkdir build + cd "${srcdir}"/$pkgname-$pkgver + patch -p1 < $srcdir/curl.patch + cd $srcdir + [[ -d build ]] || mkdir build cd build cmake ../${pkgname}-${pkgver} \ -DCMAKE_INSTALL_PREFIX=/usr \ diff --git a/community/sword/curl.patch b/community/sword/curl.patch new file mode 100644 index 000000000..63fd4433c --- /dev/null +++ b/community/sword/curl.patch @@ -0,0 +1,22 @@ +diff -Naur sword-1.6.2.orig/src/mgr/curlftpt.cpp sword-1.6.2.new/src/mgr/curlftpt.cpp +--- sword-1.6.2.orig/src/mgr/curlftpt.cpp 2011-07-27 00:41:40.000000000 +0200 ++++ sword-1.6.2.new/src/mgr/curlftpt.cpp 2011-07-27 00:42:05.000000000 +0200 +@@ -26,7 +26,6 @@ + #include <fcntl.h> + + #include <curl/curl.h> +-#include <curl/types.h> + #include <curl/easy.h> + + #include <swlog.h> +diff -Naur sword-1.6.2.orig/src/mgr/curlhttpt.cpp sword-1.6.2.new/src/mgr/curlhttpt.cpp +--- sword-1.6.2.orig/src/mgr/curlhttpt.cpp 2011-07-27 00:41:40.000000000 +0200 ++++ sword-1.6.2.new/src/mgr/curlhttpt.cpp 2011-07-27 00:42:45.000000000 +0200 +@@ -25,7 +25,6 @@ + #include <cctype> + + #include <curl/curl.h> +-#include <curl/types.h> + #include <curl/easy.h> + + #include <swlog.h> |