diff options
author | Grey Christoforo | 2016-05-30 12:40:33 +0100 |
---|---|---|
committer | Grey Christoforo | 2016-05-30 12:42:37 +0100 |
commit | c3fa46e5f6a0cdc17a98a09bd04156df74dc35ec (patch) | |
tree | 057d45edf954e7f811ad8ab85590b463eaea66d2 /PKGBUILD | |
download | aur-c3fa46e5f6a0cdc17a98a09bd04156df74dc35ec.tar.gz |
initial commit
add srcinfo
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..eca0ba42375b --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,54 @@ +# Maintainer: Grey Christoforo <first name [at] last name [dot] net> + +pkgname=owncloud-daily +pkgver=20160530 +pkgrel=1 +pkgdesc="ownCloud server dialy build, installed from the official .tar.bz2 archive" +url="https://owncloud.org" +arch=('any') +license=('GPL') +conflicts=('owncloud') +provides=('owncloud') +depends=('php' 'php-gd') +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' + 'php-ldap: LDAP authentication' + 'php-intl' + 'php-apcu' + 'mariadb: to use the MySQL database backend' + 'smbclient: to mount SAMBA shares' + 'php-mcrypt' + 'imagemagick: file preview' + 'ffmpeg: file preview' + 'libreoffice: file preview') +options=('!strip') +backup=('etc/webapps/owncloud/apache.example.conf') +install=${pkgname}.install +validpgpkeys=('E3036906AD9F30807351FAC32D5D5E97F6978A26') +source=("https://download.owncloud.org/community/daily/owncloud-daily-master.tar.bz2" + "apache.example.conf" + "set-oc-perms.sh") +md5sums=('06f336dd06b0e23619a6234b6f7a9f7a' + 'bf523e475fd8cf1e2048018952da5c34' + '30333bf6beb39b5048fcb85c74e690c0') + +options=(!strip emptydirs) + +prepare() { + cd "${srcdir}/owncloud" +} + +package() { + install -d "${pkgdir}/usr/share/licenses/${pkgname}" + cp "${srcdir}"/owncloud/COPYING-* "${pkgdir}/usr/share/licenses/${pkgname}" + + mkdir -p "${pkgdir}/usr/share/webapps" + cp -a owncloud "${pkgdir}/usr/share/webapps/." + + install -D -m755 "${srcdir}/set-oc-perms.sh" "${pkgdir}/usr/bin/set-oc-perms" + install -m644 -D "${srcdir}/apache.example.conf" -t "${pkgdir}/etc/webapps/owncloud" + ln -s /usr/share/webapps/owncloud/occ "${pkgdir}/usr/bin/occ" +} + +# vim:set ts=2 sw=2 et: |