mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
aur/owncloud to 5.0.13-1
This commit is contained in:
parent
289ff2c4f7
commit
2fd9514fd6
3 changed files with 17 additions and 13 deletions
|
@ -4,7 +4,7 @@
|
|||
# ALARM Maintainer: Tommaso Sardelli <lacapannadelloziotom [at] gmail [dot] com>
|
||||
|
||||
pkgname=owncloud
|
||||
pkgver=5.0.12
|
||||
pkgver=5.0.13
|
||||
pkgrel=1
|
||||
pkgdesc="A cloud server to store your files centrally on a hardware controlled by you"
|
||||
arch=('any')
|
||||
|
@ -14,10 +14,12 @@ depends=('php-gd' 'php-intl')
|
|||
optdepends=("php-apache: to use the Apache web server" "php-sqlite: to use the SQLite database backend" "php-pgsql: to use the PostgreSQL database backend" "mariadb: to use the MySQL database backend" "smbclient: to mount SAMBA shares")
|
||||
makedepends=()
|
||||
source=("http://download.owncloud.org/community/$pkgname-$pkgver.tar.bz2" 'owncloud.conf')
|
||||
backup=('etc/httpd/conf/extra/owncloud.conf')
|
||||
if [[ -n $(which httpd 2> /dev/null) ]]; then
|
||||
backup=('etc/httpd/conf/extra/owncloud.conf')
|
||||
fi
|
||||
install=owncloud.install
|
||||
md5sums=('32472783cc6de04e74703b48b758a22f'
|
||||
'12c893e4a6a2af4b085c592ded741eaf')
|
||||
md5sums=('4ce4cf5de3fdf1f70666549c5ecfda7a'
|
||||
'c1d49a3c0d8433bed6bffcd21ebb0064')
|
||||
|
||||
package() {
|
||||
# install license
|
||||
|
@ -29,8 +31,10 @@ package() {
|
|||
cp -a $srcdir/$pkgname $pkgdir/usr/share/webapps/
|
||||
chown -R http:http $pkgdir/usr/share/webapps/owncloud/{apps,config}
|
||||
|
||||
# install apache .conf file
|
||||
install -d $pkgdir/etc/httpd/conf/extra
|
||||
install -m 644 $srcdir/owncloud.conf $pkgdir/etc/httpd/conf/extra/
|
||||
# install apache .conf file if apache is installed
|
||||
if [[ -n $(which httpd 2> /dev/null) ]]; then
|
||||
install -d $pkgdir/etc/httpd/conf/extra
|
||||
install -m 644 $srcdir/owncloud.conf $pkgdir/etc/httpd/conf/extra/
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
|
@ -14,4 +14,4 @@ Alias /owncloud /usr/share/webapps/owncloud/
|
|||
ServerName owncloud.foo.com
|
||||
ErrorLog logs/owncloud.foo.info-error_log
|
||||
CustomLog logs/owncloud.foo.info-access_log common
|
||||
</VirtualHost>
|
||||
</VirtualHost>
|
|
@ -1,12 +1,12 @@
|
|||
pkgname=ownCloud
|
||||
|
||||
post_install() {
|
||||
echo "Add the following lines into /etc/httpd/conf/httpd.conf:"
|
||||
echo "Include /etc/httpd/conf/extra/owncloud.conf"
|
||||
echo "LoadModule php5_module modules/libphp5.so"
|
||||
echo "Include conf/extra/php5_module.conf"
|
||||
echo
|
||||
echo "Uncomment extensions gd.so intl.so iconv.so openssl.so xmlrpc.so zip.so"
|
||||
echo "and either pdo_sqlite.so sqlite3.so (for the SQLite backend), pdo_pgsql.so pgsql.so (for the PostgreSQL backend) or mysqli.so pdo_mysql.so (for the MySQL backend)"
|
||||
echo "in /etc/php/php.ini"
|
||||
echo
|
||||
echo "If using Apache, add the following lines into /etc/httpd/conf/httpd.conf:"
|
||||
echo "Include /etc/httpd/conf/extra/owncloud.conf"
|
||||
echo "LoadModule php5_module modules/libphp5.so"
|
||||
echo "Include conf/extra/php5_module.conf"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue