From 08212882a9fe589eefb95a2f5a46e652f0dcf504 Mon Sep 17 00:00:00 2001 From: Aaron Lindsay Date: Thu, 31 Oct 2013 19:58:53 -0400 Subject: [PATCH] Update to pull source from github --- PKGBUILD | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index 1aee71e..eb69114 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -5,10 +5,10 @@ pkgname=libsearpc # The version number for the software pkgver=1.1.0 #Should match `grep "PACKAGE_VERSION" libsearpc/Makefile` -_seafilever=1.8.1 +_seafilever=2.0.5 #The release number for the arch package, as fixes are added to the PKGBUILD, the release number will increase -pkgrel=7 +pkgrel=8 # The description of the package, should be about 80 characters long (one line) pkgdesc="A simple and easy-to-use C language RPC framework (including both server side & client side) based on GObject System." @@ -37,24 +37,25 @@ provides=() # Change the default behavior of makepkg see PKGBUILD#options options= -source=("http://seafile.googlecode.com/files/seafile-1.8.1.tar.gz" +source=("https://github.com/haiwen/libsearpc/archive/v${_seafilever}.tar.gz" "libsearpc.pc.patch") -sha256sums=('b08d4a79ef26023e49e5882d88d6e8d918dbb3e0ea17694fea1d593b493c8f81' +sha256sums=('8f6dd5b02d30aac28b2041a9c9bf2c41b3a149589c6eabc2a2743f352a37cad0' 'aec39a303aaebc0777a22d8c53367f52f619654d63f62b362d75c1c599e632f4') prepare () { - cd "$srcdir/seafile-$_seafilever/$pkgname" + cd "$srcdir/libsearpc-$_seafilever" patch -p1 -i $srcdir/libsearpc.pc.patch } build () { - cd "$srcdir/seafile-$_seafilever/$pkgname" + cd "$srcdir/libsearpc-$_seafilever" + ./autogen.sh ./configure --prefix=/usr PYTHON=/usr/bin/python2 make -j1 } package () { #install library and header files - cd "$srcdir/seafile-$_seafilever/$pkgname" + cd "$srcdir/libsearpc-$_seafilever" make DESTDIR="$pkgdir/" install }