Update to Seafile 1.4.5

This commit is contained in:
Aaron Lindsay 2013-02-01 07:29:52 -05:00
parent 314876ae72
commit d4d2040f99

View File

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