mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
[skip-ci] owncloud{-client}: remove as replaced by nextcloud.
This commit is contained in:
parent
f440e8a4c6
commit
9025527baf
@ -1,33 +0,0 @@
|
||||
pkgname=owncloud-client
|
||||
pkgver=2.3.4
|
||||
pkgrel=1
|
||||
pkgdesc="ownCloud client based on mirall"
|
||||
arch=('x86_64')
|
||||
url="http://owncloud.org/"
|
||||
screenshot="http://owncloud.org/wp-content/uploads/2012/03/linux3.png"
|
||||
license=('GPL2')
|
||||
depends=('qtkeychain' 'qt5-webkit' 'hicolor-icon-theme' 'xdg-utils')
|
||||
makedepends=('extra-cmake-modules' 'python3-sphinx' 'qt5-tools' 'doxygen' 'kio')
|
||||
groups=('network')
|
||||
backup=('etc/owncloud-client/sync-exclude.lst')
|
||||
install=${pkgname}.install
|
||||
source=("https://download.owncloud.com/desktop/stable/owncloudclient-$pkgver.tar.xz")
|
||||
sha256sums=('89409e68f8290930088c5ed1da483a1c1b56d45695ac9192e81a2d71690df1ba')
|
||||
|
||||
build() {
|
||||
mkdir -p build && cd build
|
||||
|
||||
cmake ../owncloudclient-${pkgver} \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_INSTALL_LIBDIR=lib \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_INSTALL_SYSCONFDIR=/etc/${pkgname}
|
||||
|
||||
make
|
||||
make doc-man
|
||||
}
|
||||
|
||||
package() {
|
||||
cd build
|
||||
make DESTDIR="${pkgdir}" install
|
||||
}
|
@ -1,11 +0,0 @@
|
||||
post_install() {
|
||||
xdg-icon-resource forceupdate --theme hicolor
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
post_install
|
||||
}
|
@ -1,67 +0,0 @@
|
||||
pkgname=owncloud
|
||||
pkgver=10.0.1
|
||||
pkgrel=1
|
||||
pkgdesc="A cloud server to store your files centrally on a hardware controlled by you"
|
||||
arch=('x86_64')
|
||||
url="http://owncloud.org/"
|
||||
license=('GPL')
|
||||
depends=('php-gd' 'php-intl')
|
||||
optdepends=('php-apache: to use the Apache web server'
|
||||
'nginx: to use the nginx web server'
|
||||
'php-sqlite: to use the SQLite database backend'
|
||||
'php-pgsql: to use the PostgreSQL database backend'
|
||||
'php-ldap: LDAP authentication'
|
||||
'php-intl'
|
||||
'php-apcu'
|
||||
'php-xcache'
|
||||
'mariadb: to use the MySQL database backend'
|
||||
'smbclient: to mount SAMBA shares'
|
||||
'php-mcrypt'
|
||||
'php-imagick: file preview'
|
||||
'ffmpeg: file preview'
|
||||
'libreoffice-common: file preview')
|
||||
categories=('network')
|
||||
conflicts=('owncloud-git')
|
||||
screenshot=(http://karlitschek.de/wp-content/uploads/2014/07/oc7.jpg)
|
||||
source=("$pkgname-$pkgver.tar.gz::https://github.com/owncloud/core/archive/v$pkgver.tar.gz"
|
||||
"$pkgname-3rdparty-$pkgver.tar.gz::https://github.com/owncloud/3rdparty/archive/v$pkgver.tar.gz"
|
||||
'owncloud.conf')
|
||||
options=('!strip')
|
||||
install=owncloud.install
|
||||
sha256sums=('2db0818a89e4a05d6d73e854abfd3b37e3cedb27c8469cd76532aa9b92318d75'
|
||||
'81f693602a8fd93c4b2ac005b05576210845e7f50715457e823b5f041c2893e3'
|
||||
'1e9252f266cfa27af5bcb573b2fe932ce0d1578722ddc47431de9e92a65bd16c')
|
||||
|
||||
prepare() {
|
||||
cd $srcdir/core-$pkgver
|
||||
#sed -i "s|'appstoreenabled'.*|'appstoreenabled' => false,|" config/config.sample.php
|
||||
rm -rf $srcdir/core-$pkgver/3rdparty
|
||||
mv $srcdir/3rdparty-$pkgver $srcdir/core-$pkgver/3rdparty
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $srcdir/core-$pkgver
|
||||
# install license
|
||||
install -d ${pkgdir}/usr/share/licenses/${pkgname}
|
||||
cp ${srcdir}/core-$pkgver/COPYING-* ${pkgdir}/usr/share/licenses/${pkgname}
|
||||
|
||||
# install project
|
||||
install -d ${pkgdir}/usr/share/webapps/
|
||||
cp -a ${srcdir}/core-$pkgver ${pkgdir}/usr/share/webapps/${pkgname}
|
||||
rm -rf ${pkgdir}/usr/share/webapps/${pkgname}/tests
|
||||
|
||||
# install apache config file
|
||||
install -d ${pkgdir}/usr/share/webapps/${pkgname}
|
||||
install -m 644 ${srcdir}/owncloud.conf ${pkgdir}/usr/share/webapps/${pkgname}
|
||||
|
||||
# move config to /etc
|
||||
# mv ${pkgdir}/usr/share/webapps/owncloud/config ${pkgdir}/etc/webapps/${pkgname}/config
|
||||
# chown -R http:http ${pkgdir}/etc/webapps/${pkgname}
|
||||
# ln -s /etc/webapps/${pkgname}/config ${pkgdir}/usr/share/webapps/owncloud/config
|
||||
# chown -R root:http ${pkgdir}/usr/share/webapps/${pkgname}
|
||||
|
||||
find ${pkgdir}/usr/share/webapps/owncloud -type f -exec chmod 0644 {} \;
|
||||
find ${pkgdir}/usr/share/webapps/owncloud -type d -exec chmod 0755 {} \;
|
||||
# find ${pkgdir}/etc/webapps/owncloud -type f -print0 | xargs -0 chmod 0640
|
||||
# find ${pkgdir}/etc/webapps/owncloud -type d -print0 | xargs -0 chmod 0750
|
||||
}
|
@ -1,16 +0,0 @@
|
||||
<IfModule mod_alias.c>
|
||||
Alias /owncloud /usr/share/webapps/owncloud/
|
||||
</IfModule>
|
||||
<Directory /usr/share/webapps/owncloud/>
|
||||
Options Indexes FollowSymLinks
|
||||
AllowOverride All
|
||||
Require all granted
|
||||
php_admin_value open_basedir "/srv/http/:/home/:/tmp/:/usr/share/pear/:/usr/share/webapps/"
|
||||
</Directory>
|
||||
<VirtualHost *:80>
|
||||
ServerAdmin foo@myowncloud.com
|
||||
DocumentRoot /usr/share/webapps/owncloud
|
||||
ServerName myowncloud.com
|
||||
ErrorLog logs/owncloud.info-error_log
|
||||
CustomLog logs/owncloud.info-access_log common
|
||||
</VirtualHost>
|
@ -1,33 +0,0 @@
|
||||
pkgname=ownCloud
|
||||
|
||||
post_install() {
|
||||
echo "If you're using Apache web server add the following lines "
|
||||
echo "into /etc/httpd/conf/httpd.conf:"
|
||||
echo "Include conf/extra/owncloud.conf"
|
||||
echo "LoadModule php5_module modules/libphp5.so"
|
||||
echo "Include conf/extra/php5_module.conf"
|
||||
echo
|
||||
echo "Uncomment extensions:"
|
||||
echo " extension=curl.so"
|
||||
echo " extension=gd.so"
|
||||
echo " extension=iconv.so"
|
||||
echo " extension=intl.so"
|
||||
echo " extension=openssl.so"
|
||||
echo " extension=xmlrpc.so"
|
||||
echo " extension=zip.so"
|
||||
echo "in /etc/php/php.ini"
|
||||
echo
|
||||
echo "If you're using mysql database backend, uncomment also:"
|
||||
echo " extension=mysql.so"
|
||||
echo " extension=pdo_mysql.so"
|
||||
echo
|
||||
echo "Instead, if you're using sqlite database backend, uncomment:"
|
||||
echo " extension=sqlite.so"
|
||||
echo " extension=pdo_sqlite.so"
|
||||
echo
|
||||
}
|
||||
|
||||
post_upgrade()
|
||||
{
|
||||
post_install
|
||||
}
|
Loading…
Reference in New Issue
Block a user