Update to Seafile 1.4.5
This commit is contained in:
parent
314876ae72
commit
d4d2040f99
13
PKGBUILD
13
PKGBUILD
@ -4,7 +4,8 @@
|
|||||||
pkgname=ccnet
|
pkgname=ccnet
|
||||||
|
|
||||||
# The version number for the software
|
# 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
|
#The release number for the arch package, as fixes are added to the PKGBUILD, the release number will increase
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
@ -36,28 +37,28 @@ provides=()
|
|||||||
# Change the default behavior of makepkg see PKGBUILD#options
|
# Change the default behavior of makepkg see PKGBUILD#options
|
||||||
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"
|
"https://raw.github.com/haiwen/ccnet/master/COPYRIGHT"
|
||||||
"libccnet.pc.patch")
|
"libccnet.pc.patch")
|
||||||
sha256sums=('035875a630f8c23657b86e28bf4ea7c2b4b30d016c8e4c648bef5ef96e12f31d'
|
sha256sums=('843b32a3f9ae9a3bc88d0c728a2873da824537cb4aa907bb9af4cf61121ccc99'
|
||||||
'e788cf52e18ae6f284f07669954dfbde8e8567e57191c14944b9513b18c4e985'
|
'e788cf52e18ae6f284f07669954dfbde8e8567e57191c14944b9513b18c4e985'
|
||||||
'66c3b02c3981db6a80819e0ae103bedadf8dfdf81405a7f75a9cba714acf973f')
|
'66c3b02c3981db6a80819e0ae103bedadf8dfdf81405a7f75a9cba714acf973f')
|
||||||
|
|
||||||
prepare () {
|
prepare () {
|
||||||
cd "$srcdir/$pkgname-$pkgver"
|
cd "$srcdir/seafile-$_seafilever/ccnet"
|
||||||
patch -p1 -i $srcdir/libccnet.pc.patch
|
patch -p1 -i $srcdir/libccnet.pc.patch
|
||||||
}
|
}
|
||||||
|
|
||||||
build () {
|
build () {
|
||||||
prepare
|
prepare
|
||||||
cd "$srcdir/$pkgname-$pkgver"
|
cd "$srcdir/seafile-$_seafilever/ccnet"
|
||||||
./configure --enable-server --prefix=/usr PYTHON=/usr/bin/python2
|
./configure --enable-server --prefix=/usr PYTHON=/usr/bin/python2
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
package () {
|
package () {
|
||||||
#install library and header files
|
#install library and header files
|
||||||
cd "$srcdir/$pkgname-$pkgver"
|
cd "$srcdir/seafile-$_seafilever/ccnet"
|
||||||
make DESTDIR="$pkgdir/" install
|
make DESTDIR="$pkgdir/" install
|
||||||
|
|
||||||
#copy license over
|
#copy license over
|
||||||
|
Loading…
Reference in New Issue
Block a user