# Maintainer: A Rojas # Based on owncloud-git PKGBUILD by Alexander Ovsyannikov plugrel=1 pkgname=owncloud pkgver=1.2 pkgrel=1 pkgdesc="A cloud server to store your files centrally on a hardware controlled by you" arch=('i686' 'x86_64') url="http://owncloud.org/index.php/Main_Page" license=('GPL') depends=('php-apache' 'php-sqlite' 'php-curl') makedepends=() source=("http://owncloud.org/releases/${pkgname}-${pkgver}.tar.bz2" 'owncloud.conf') install=owncloud.install md5sums=('9397392cef8e3c1a669c41f1b6fb1fed' '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 project install -d -o http -g http ${pkgdir}/srv/http cp -a ${srcdir}/${pkgname} ${pkgdir}/srv/http/ 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/ }