mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
36 lines
1.3 KiB
Bash
36 lines
1.3 KiB
Bash
# Maintainer: Antonio Rojas <nqn1976 @ gmail.com>
|
|
# Based on owncloud-git PKGBUILD by Alexander Ovsyannikov
|
|
|
|
# ALARM Maintainer: Tommaso Sardelli <lacapannadelloziotom@gmail.com
|
|
|
|
pkgname=owncloud
|
|
pkgver=5.0.3
|
|
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" "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')
|
|
install=owncloud.install
|
|
md5sums=('354e0d6ad98ea544aacada809df4b815'
|
|
'12c893e4a6a2af4b085c592ded741eaf')
|
|
|
|
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/*
|
|
|
|
# install apache .conf file
|
|
install -d $pkgdir/etc/httpd/conf/extra
|
|
install -m 644 $srcdir/owncloud.conf $pkgdir/etc/httpd/conf/extra/
|
|
}
|
|
|