2012-04-15 17:02:27 +00:00
|
|
|
# Maintainer: Antonio Rojas <nqn1976 @ gmail.com>
|
2011-05-17 21:54:33 +00:00
|
|
|
# Based on owncloud-git PKGBUILD by Alexander Ovsyannikov
|
|
|
|
|
|
|
|
pkgname=owncloud
|
2012-12-25 11:50:04 +00:00
|
|
|
pkgver=4.5.5
|
2012-07-24 03:25:50 +00:00
|
|
|
pkgrel=1
|
2011-05-17 21:54:33 +00:00
|
|
|
pkgdesc="A cloud server to store your files centrally on a hardware controlled by you"
|
2012-04-15 17:02:27 +00:00
|
|
|
arch=('any')
|
2011-12-07 21:42:15 +00:00
|
|
|
url="http://owncloud.org/"
|
2011-05-17 21:54:33 +00:00
|
|
|
license=('GPL')
|
2012-06-23 01:59:53 +00:00
|
|
|
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")
|
2011-05-17 21:54:33 +00:00
|
|
|
makedepends=()
|
2012-04-15 17:02:27 +00:00
|
|
|
source=("http://owncloud.org/releases/$pkgname-$pkgver.tar.bz2" 'owncloud.conf')
|
2012-06-23 01:59:53 +00:00
|
|
|
backup=('etc/httpd/conf/extra/owncloud.conf')
|
2011-05-17 21:54:33 +00:00
|
|
|
install=owncloud.install
|
2012-12-25 11:50:04 +00:00
|
|
|
md5sums=('5fd4b51c282ef7262377386cefb939b3'
|
2012-09-17 23:40:16 +00:00
|
|
|
'7a08e1fee098615ea24fcdb1f4bd82d9')
|
2011-05-17 21:54:33 +00:00
|
|
|
|
|
|
|
package() {
|
2012-06-23 01:59:53 +00:00
|
|
|
# install license
|
|
|
|
install -d $pkgdir/usr/share/licenses/$pkgname
|
|
|
|
cp $srcdir/$pkgname/COPYING-* $pkgdir/usr/share/licenses/$pkgname
|
2011-05-17 21:54:33 +00:00
|
|
|
|
|
|
|
# install project
|
2012-09-17 23:40:16 +00:00
|
|
|
install -d $pkgdir/usr/share/webapps/
|
|
|
|
cp -a $srcdir/$pkgname $pkgdir/usr/share/webapps/
|
|
|
|
chown -R http:http $pkgdir/usr/share/webapps/*
|
2011-05-17 21:54:33 +00:00
|
|
|
|
|
|
|
# install apache .conf file
|
2012-06-23 01:59:53 +00:00
|
|
|
install -d $pkgdir/etc/httpd/conf/extra
|
|
|
|
install -m 644 $srcdir/owncloud.conf $pkgdir/etc/httpd/conf/extra/
|
2011-05-17 21:54:33 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|