Date: Monday, November 10, 2014 @ 19:25:55 Author: anatolik Revision: 122311
upgpkg: thrift 0.9.2-1 Modified: thrift/trunk/PKGBUILD ----------+ PKGBUILD | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2014-11-10 18:20:41 UTC (rev 122310) +++ PKGBUILD 2014-11-10 18:25:55 UTC (rev 122311) @@ -8,8 +8,8 @@ # the binding from the language specific managers python2-thrift, perl-thrift, ruby-thrift, ... pkgname=thrift -pkgver=0.9.1 -pkgrel=3 +pkgver=0.9.2 +pkgrel=1 pkgdesc='Scalable cross-language services framework for IPC/RPC' arch=(i686 x86_64) url='http://thrift.apache.org/' @@ -20,13 +20,11 @@ 'qt4: TQTcpServer support' ) source=(http://www.apache.org/dist/thrift/$pkgver/thrift-$pkgver.tar.gz) -sha1sums=('dc54a54f8dc706ffddcd3e8c6cd5301c931af1cc') +sha1sums=('02f78b158da795ea89a26ce41964fbe562cc4235') build() { cd thrift-$pkgver - export CPPFLAGS="$CPPFLAGS -O2 -fno-strict-aliasing" - # tests compilation is broken https://issues.apache.org/jira/browse/THRIFT-2545 enable tess with 0.9.2 ./configure --prefix=/usr \ --with-cpp \ --with-c_glib \ @@ -43,7 +41,8 @@ --without-d \ --without-php \ --without-go \ - --without-tests + --without-lua \ + --without-nodejs make @@ -50,6 +49,11 @@ emacs -Q --batch -f batch-byte-compile contrib/thrift.el } +check() { + cd thrift-$pkgver + make check +} + package() { cd thrift-$pkgver make DESTDIR="$pkgdir" install
