summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f7fa85db09839487e1af23d1e69e74b3ae0cd730 (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
# Maintainer: Michael Gerber <aur at lynxcore dot org >
pkgname=open-xchange-dav
pkgver=7.8.0
pkgrel=6
pkgdesc='The Open-Xchange CardDAV and CalDAV implementation'
groups=()
install='open-xchange-dav.install'
arch=('any')
url='http://www.ox.io/'
license=('GPLv2')
depends=('open-xchange-core' 'open-xchange-freebusy')
makedepends=()
conflicts=()
provides=('open-xchange-dav')
source=('https://software.open-xchange.com/products/appsuite/stable/debs/DebianJessie/all/open-xchange-dav_7.8.0-6_all.deb')
sha256sums=('30725e82c74e300d4314630fd6fe123da6455a16d352bfe6510667a13520dbe5')

package() {
    if test -f "data.tar.xz"; then
        tar xf data.tar.xz
        cp -a $(find . -mindepth 1 -maxdepth 1 -type d) "$pkgdir"
    fi
    
    if test -f "data.tar.gz"; then
        tar xf data.tar.gz
        cp -a $(find . -mindepth 1 -maxdepth 1 -type d) "$pkgdir"
    fi
}