blob: 785941d39c2a09c55eb99fc7f13a6f08f3242cbe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
# Maintainer: Grey Christoforo <first name [at] last name [dot] net>
pkgname=owncloud-daily
pkgver=20161117
pkgrel=2
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=('SKIP'
'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:
|