mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
aur/owncloud => 4.0.2
This commit is contained in:
parent
a016e2a26c
commit
65abd862da
2 changed files with 12 additions and 15 deletions
|
@ -1,29 +1,26 @@
|
|||
# Maintainer: Antonio Rojas <nqn1976 @ gmail.com>
|
||||
# Based on owncloud-git PKGBUILD by Alexander Ovsyannikov
|
||||
|
||||
plugrel=1
|
||||
|
||||
pkgname=owncloud
|
||||
pkgver=3.0.2
|
||||
pkgrel=1
|
||||
pkgver=4.0.2
|
||||
pkgrel=3
|
||||
pkgdesc="A cloud server to store your files centrally on a hardware controlled by you"
|
||||
arch=('any')
|
||||
url="http://owncloud.org/"
|
||||
license=('GPL')
|
||||
depends=('php-apache' 'php-gd')
|
||||
optdepends=("php-sqlite: to use the SQLite database backend" "mysql: to use the MySQL database backend")
|
||||
depends=('php-gd')
|
||||
optdepends=("php-apache: to use the Apache web server" "php-sqlite: to use the SQLite database backend" "mysql: to use the MySQL database backend")
|
||||
makedepends=()
|
||||
source=("http://owncloud.org/releases/$pkgname-$pkgver.tar.bz2" 'owncloud.conf')
|
||||
backup=('etc/httpd/conf/extra/owncloud.conf')
|
||||
install=owncloud.install
|
||||
md5sums=('25945bb7167767a71c7e9302d42355a5'
|
||||
md5sums=('7934ebe0b086110c7ee9858fa3ae4018'
|
||||
'b22b1f45421a13b772dd0b7617e62c83')
|
||||
|
||||
# build()
|
||||
|
||||
package() {
|
||||
# install README file
|
||||
install -o root -g root -d $pkgdir/usr/share/doc/$pkgname
|
||||
mv $srcdir/$pkgname/README $pkgdir/usr/share/doc/$pkgname/
|
||||
# install license
|
||||
install -d $pkgdir/usr/share/licenses/$pkgname
|
||||
cp $srcdir/$pkgname/COPYING-* $pkgdir/usr/share/licenses/$pkgname
|
||||
|
||||
# install project
|
||||
install -d -o http -g http $pkgdir/srv/http
|
||||
|
@ -31,8 +28,8 @@ package() {
|
|||
chown -R http:http $pkgdir/srv/http/*
|
||||
|
||||
# install apache .conf file
|
||||
install -d -o root -g root $pkgdir/etc/httpd/conf/extra
|
||||
install -o root -g root -m 644 $srcdir/owncloud.conf $pkgdir/etc/httpd/conf/extra/
|
||||
install -d $pkgdir/etc/httpd/conf/extra
|
||||
install -m 644 $srcdir/owncloud.conf $pkgdir/etc/httpd/conf/extra/
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -7,6 +7,6 @@ post_install() {
|
|||
echo "Include conf/extra/php5_module.conf"
|
||||
echo
|
||||
echo "Uncomment extensions xmlrpc.so zip.so gd.so"
|
||||
echo "and either sqlite.so sqlite3.so (for the SQLite backend) or mysql.so mysqli.so (for the MySQL backend)"
|
||||
echo "and either pdo_sqlite.so sqlite3.so (for the SQLite backend) or mysql.so mysqli.so pdo_mysql.so (for the MySQL backend)"
|
||||
echo "in /etc/php/php.ini"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue