diff --git a/PKGBUILD b/PKGBUILD index 34b55e2..19fb846 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -8,7 +8,7 @@ pkgver=1.3.1 _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 framework for writing networked applications in C." @@ -38,11 +38,19 @@ provides=() options= source=("http://seafile.googlecode.com/files/seafile-latest.tar.gz" - "https://raw.github.com/haiwen/ccnet/master/COPYRIGHT") + "https://raw.github.com/haiwen/ccnet/master/COPYRIGHT" + "libccnet.pc.patch") sha256sums=('33f150bcc5fc1f71f20584f8e82999313452c1177483f60a0045c73a45332f75' - 'e788cf52e18ae6f284f07669954dfbde8e8567e57191c14944b9513b18c4e985') + 'e788cf52e18ae6f284f07669954dfbde8e8567e57191c14944b9513b18c4e985' + '66c3b02c3981db6a80819e0ae103bedadf8dfdf81405a7f75a9cba714acf973f') + +prepare () { + cd "$srcdir/seafile-$_seafilever/ccnet" + patch -p1 -i $srcdir/libccnet.pc.patch +} build () { + prepare cd "$srcdir/seafile-$_seafilever/ccnet" ./configure --enable-server --prefix=/usr PYTHON=/usr/bin/python2 make -j1