From d4d2040f99f9adb525c44e08e0545e54b4512c99 Mon Sep 17 00:00:00 2001 From: Aaron Lindsay Date: Fri, 1 Feb 2013 07:29:52 -0500 Subject: [PATCH] Update to Seafile 1.4.5 --- PKGBUILD | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index 1d3d100..eaaf8c8 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -4,7 +4,8 @@ pkgname=ccnet # The version number for the software -pkgver=1.2.0 +pkgver=1.3.0 +_seafilever=1.4.5 #The release number for the arch package, as fixes are added to the PKGBUILD, the release number will increase pkgrel=1 @@ -36,28 +37,28 @@ provides=() # Change the default behavior of makepkg see PKGBUILD#options options= -source=("http://seafile.com.cn/downloads/ccnet-latest.tar.gz" +source=("http://seafile.com.cn/downloads/seafile-latest.tar.gz" "https://raw.github.com/haiwen/ccnet/master/COPYRIGHT" "libccnet.pc.patch") -sha256sums=('035875a630f8c23657b86e28bf4ea7c2b4b30d016c8e4c648bef5ef96e12f31d' +sha256sums=('843b32a3f9ae9a3bc88d0c728a2873da824537cb4aa907bb9af4cf61121ccc99' 'e788cf52e18ae6f284f07669954dfbde8e8567e57191c14944b9513b18c4e985' '66c3b02c3981db6a80819e0ae103bedadf8dfdf81405a7f75a9cba714acf973f') prepare () { - cd "$srcdir/$pkgname-$pkgver" + cd "$srcdir/seafile-$_seafilever/ccnet" patch -p1 -i $srcdir/libccnet.pc.patch } build () { prepare - cd "$srcdir/$pkgname-$pkgver" + cd "$srcdir/seafile-$_seafilever/ccnet" ./configure --enable-server --prefix=/usr PYTHON=/usr/bin/python2 make } package () { #install library and header files - cd "$srcdir/$pkgname-$pkgver" + cd "$srcdir/seafile-$_seafilever/ccnet" make DESTDIR="$pkgdir/" install #copy license over