From 487a4bbbec46a9366cfa667efff0480177dcffed Mon Sep 17 00:00:00 2001 From: Aaron Lindsay Date: Thu, 4 Apr 2013 07:45:44 -0400 Subject: [PATCH] Revert "Remove patch file which now seems to be unnecessary" This reverts commit f103cc4d1065ff7e854689c8e3d4193a2e854264. --- PKGBUILD | 14 +++++++++++--- libsearpc.pc.patch | 8 ++++++++ 2 files changed, 19 insertions(+), 3 deletions(-) create mode 100644 libsearpc.pc.patch diff --git a/PKGBUILD b/PKGBUILD index 10edcc1..ec94057 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -8,7 +8,7 @@ pkgver=1.0.2 _seafilever=1.5.3 #The release number for the arch package, as fixes are added to the PKGBUILD, the release number will increase -pkgrel=2 +pkgrel=1 # 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,10 +37,18 @@ provides=() # Change the default behavior of makepkg see PKGBUILD#options options= -source=("http://seafile.googlecode.com/files/seafile-latest.tar.gz") -sha256sums=('33f150bcc5fc1f71f20584f8e82999313452c1177483f60a0045c73a45332f75') +source=("http://seafile.googlecode.com/files/seafile-latest.tar.gz" + "libsearpc.pc.patch") +sha256sums=('33f150bcc5fc1f71f20584f8e82999313452c1177483f60a0045c73a45332f75' + 'aec39a303aaebc0777a22d8c53367f52f619654d63f62b362d75c1c599e632f4') + +prepare () { + cd "$srcdir/seafile-$_seafilever/$pkgname" + patch -p1 -i $srcdir/libsearpc.pc.patch +} build () { + prepare cd "$srcdir/seafile-$_seafilever/$pkgname" ./configure --prefix=/usr PYTHON=/usr/bin/python2 make -j1 diff --git a/libsearpc.pc.patch b/libsearpc.pc.patch new file mode 100644 index 0000000..aaff6b2 --- /dev/null +++ b/libsearpc.pc.patch @@ -0,0 +1,8 @@ +--- a/libsearpc.pc.in 2013-01-10 01:35:24.000000000 -0500 ++++ b/libsearpc.pc.in 2013-01-19 11:31:50.479301798 -0500 +@@ -1,4 +1,4 @@ +-prefix=(DESTDIR)@prefix@ ++prefix=@prefix@ + exec_prefix=@exec_prefix@ + libdir=@libdir@ + includedir=@includedir@