mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
39 lines
1.5 KiB
Bash
39 lines
1.5 KiB
Bash
# Maintainer: Antonio Rojas <nqn1976 @ gmail.com>
|
|
# Based on owncloud-git PKGBUILD by Alexander Ovsyannikov
|
|
|
|
# ALARM Maintainer: Tommaso Sardelli <lacapannadelloziotom [at] gmail [dot] com>
|
|
|
|
pkgname=owncloud
|
|
pkgver=6.0.0
|
|
pkgrel=1
|
|
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-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' 'php-mcrypt' 'php-imagick: file preview'
|
|
'ffmpeg: file preview' 'libreoffice-common: file preview')
|
|
makedepends=()
|
|
source=("http://download.owncloud.org/community/$pkgname-$pkgver.tar.bz2" 'apache.example.conf')
|
|
backup=('etc/webapps/owncloud/apache.example.conf')
|
|
install=owncloud.install
|
|
md5sums=('7a6b9330de7dddad0776ef9b6b80af94'
|
|
'c1d49a3c0d8433bed6bffcd21ebb0064')
|
|
|
|
|
|
package() {
|
|
# install license
|
|
install -d $pkgdir/usr/share/licenses/$pkgname
|
|
cp $srcdir/$pkgname/COPYING-* $pkgdir/usr/share/licenses/$pkgname
|
|
|
|
# install project
|
|
install -d $pkgdir/usr/share/webapps/
|
|
cp -a $srcdir/$pkgname $pkgdir/usr/share/webapps/
|
|
chown -R http:http $pkgdir/usr/share/webapps/owncloud/{apps,config}
|
|
|
|
# install apache config file
|
|
install -d $pkgdir/etc/webapps/$pkgname
|
|
install -m 644 $srcdir/apache.example.conf $pkgdir/etc/webapps/$pkgname
|
|
}
|
|
|