1
0
Fork 0

Revert "Remove patch file which now seems to be unnecessary"

This reverts commit f103cc4d10.
This commit is contained in:
Aaron Lindsay 2013-04-04 07:45:44 -04:00
parent f103cc4d10
commit 487a4bbbec
2 changed files with 19 additions and 3 deletions

View File

@ -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

8
libsearpc.pc.patch Normal file
View File

@ -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@