diff options
author | aurelien <aurelien@cwb.io> | 2012-11-14 14:39:56 +0100 |
---|---|---|
committer | aurelien <aurelien@cwb.io> | 2012-11-14 14:39:56 +0100 |
commit | fa450b16a3417043225ea1b0860a87d792ba3110 (patch) | |
tree | 6fd8f9f853c04ada81d4b9242c9abc3d65a51a59 /pcr/owncloud/PKGBUILD | |
parent | 36ce0c1cc1062bb6bdd296955dbf4f20f2eecec4 (diff) | |
download | abslibre-fa450b16a3417043225ea1b0860a87d792ba3110.tar.gz abslibre-fa450b16a3417043225ea1b0860a87d792ba3110.tar.bz2 abslibre-fa450b16a3417043225ea1b0860a87d792ba3110.zip |
PKGBUILD for any
Diffstat (limited to 'pcr/owncloud/PKGBUILD')
-rw-r--r-- | pcr/owncloud/PKGBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/pcr/owncloud/PKGBUILD b/pcr/owncloud/PKGBUILD new file mode 100644 index 000000000..7861d0917 --- /dev/null +++ b/pcr/owncloud/PKGBUILD @@ -0,0 +1,35 @@ +# Contributor: Antonio Rojas <nqn1976 @ gmail.com> +# Based on owncloud-git PKGBUILD by Alexander Ovsyannikov +# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.io> + +pkgname=owncloud +pkgver=4.5.2 +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') +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 + +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/ +} + + + |