Update for seafile 2.0.5 and ccnet 1.3.6
This commit is contained in:
parent
86a58ee256
commit
95f90fd150
17
PKGBUILD
17
PKGBUILD
@ -4,8 +4,8 @@
|
|||||||
pkgname=ccnet
|
pkgname=ccnet
|
||||||
|
|
||||||
# The version number for the software
|
# The version number for the software
|
||||||
pkgver=1.3.5 #Should match `grep "PACKAGE_VERSION" ccnet/Makefile`
|
pkgver=1.3.6 #Should match `grep "PACKAGE_VERSION" ccnet/Makefile`
|
||||||
_seafilever=1.8.1
|
_seafilever=2.0.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
|
||||||
@ -37,27 +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.googlecode.com/files/seafile-1.8.1.tar.gz"
|
source=("https://github.com/haiwen/ccnet/archive/v${_seafilever}.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=('b08d4a79ef26023e49e5882d88d6e8d918dbb3e0ea17694fea1d593b493c8f81'
|
sha256sums=('139a801daf225a277c04c9e2bf43bf2d617d81c33a6b6e651de18fe223586eb3'
|
||||||
'7abb45e3e313d37337b088411fa249171f58186ebf951c19ea2bf1390927a0f3'
|
'7abb45e3e313d37337b088411fa249171f58186ebf951c19ea2bf1390927a0f3'
|
||||||
'66c3b02c3981db6a80819e0ae103bedadf8dfdf81405a7f75a9cba714acf973f')
|
'66c3b02c3981db6a80819e0ae103bedadf8dfdf81405a7f75a9cba714acf973f')
|
||||||
|
|
||||||
prepare () {
|
prepare () {
|
||||||
cd "$srcdir/seafile-$_seafilever/ccnet"
|
cd "$srcdir/ccnet-$_seafilever"
|
||||||
patch -p1 -i $srcdir/libccnet.pc.patch
|
patch -p1 -i $srcdir/libccnet.pc.patch
|
||||||
}
|
}
|
||||||
|
|
||||||
build () {
|
build () {
|
||||||
cd "$srcdir/seafile-$_seafilever/ccnet"
|
cd "$srcdir/ccnet-$_seafilever"
|
||||||
|
./autogen.sh
|
||||||
./configure --enable-server --prefix=/usr PYTHON=/usr/bin/python2
|
./configure --enable-server --prefix=/usr PYTHON=/usr/bin/python2
|
||||||
make -j1
|
make -j1
|
||||||
}
|
}
|
||||||
|
|
||||||
package () {
|
package () {
|
||||||
#install library and header files
|
#install library and header files
|
||||||
cd "$srcdir/seafile-$_seafilever/ccnet"
|
cd "$srcdir/ccnet-$_seafilever"
|
||||||
make DESTDIR="$pkgdir/" install
|
make DESTDIR="$pkgdir/" install
|
||||||
|
|
||||||
#copy license over
|
#copy license over
|
||||||
|
Loading…
Reference in New Issue
Block a user