Fix some 1.8.1 issues
This commit is contained in:
parent
d8f1c4b459
commit
009fb95772
6
PKGBUILD
6
PKGBUILD
@ -7,7 +7,7 @@ pkgname=seafile
|
|||||||
pkgver=1.8.1
|
pkgver=1.8.1
|
||||||
|
|
||||||
#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=2
|
||||||
|
|
||||||
# The description of the package, should be about 80 characters long (one line)
|
# The description of the package, should be about 80 characters long (one line)
|
||||||
pkgdesc="Seafile is an open-source Dropbox replacement."
|
pkgdesc="Seafile is an open-source Dropbox replacement."
|
||||||
@ -47,7 +47,7 @@ source=("https://seafile.googlecode.com/files/seafile-1.8.1.tar.gz"
|
|||||||
sha256sums=('b08d4a79ef26023e49e5882d88d6e8d918dbb3e0ea17694fea1d593b493c8f81'
|
sha256sums=('b08d4a79ef26023e49e5882d88d6e8d918dbb3e0ea17694fea1d593b493c8f81'
|
||||||
'0d9578b85c00f3087a19f227b29c3fda13e83d093d024c68c1df5575d30d56dc'
|
'0d9578b85c00f3087a19f227b29c3fda13e83d093d024c68c1df5575d30d56dc'
|
||||||
'3afb6b0ce902215d4b4f119e1094b2b84b2ec39e4ba8bd29d40fd7b5cdf4fa0c'
|
'3afb6b0ce902215d4b4f119e1094b2b84b2ec39e4ba8bd29d40fd7b5cdf4fa0c'
|
||||||
'ce0cbf29b87e29709c6f7a1e6558a6c22d5aa24d41a9ed5b1dd44eab15c4d45c')
|
'360fca7cbe7d5d7afd393d3e5a878630cf10e6ca5d2de48f5e8c2618dab64ce5')
|
||||||
|
|
||||||
prepare () {
|
prepare () {
|
||||||
cd "$srcdir/$pkgname-$pkgver"
|
cd "$srcdir/$pkgname-$pkgver"
|
||||||
@ -61,10 +61,12 @@ build () {
|
|||||||
automake --add-missing
|
automake --add-missing
|
||||||
./configure --enable-server --enable-httpserver --prefix=/usr PYTHON=/usr/bin/python2
|
./configure --enable-server --enable-httpserver --prefix=/usr PYTHON=/usr/bin/python2
|
||||||
make -j1
|
make -j1
|
||||||
|
make -C monitor
|
||||||
}
|
}
|
||||||
|
|
||||||
package () {
|
package () {
|
||||||
#install library and header files
|
#install library and header files
|
||||||
cd "$srcdir/$pkgname-$pkgver"
|
cd "$srcdir/$pkgname-$pkgver"
|
||||||
make DESTDIR="$pkgdir/" install
|
make DESTDIR="$pkgdir/" install
|
||||||
|
make -C monitor DESTDIR="$pkgdir/" install
|
||||||
}
|
}
|
||||||
|
@ -3,7 +3,7 @@ pre_install() {
|
|||||||
virtualenv2 --system-site-packages /usr/lib/seafile/seafileenv
|
virtualenv2 --system-site-packages /usr/lib/seafile/seafileenv
|
||||||
virtualenv2 --relocatable /usr/lib/seafile/seafileenv
|
virtualenv2 --relocatable /usr/lib/seafile/seafileenv
|
||||||
source /usr/lib/seafile/seafileenv/bin/activate
|
source /usr/lib/seafile/seafileenv/bin/activate
|
||||||
pip install django==1.3.1
|
pip install django==1.5.0
|
||||||
pip install djangorestframework
|
pip install djangorestframework
|
||||||
deactivate
|
deactivate
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user