summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0454df674e1eef2836b494e0f17fe95d44a42f9c (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-realtime-json
pkgver=7.8.0
pkgrel=6
pkgdesc='Realtime channel implementation for frequent polling'
groups=()
install='open-xchange-realtime-json.install'
arch=('any')
url='http://www.ox.io/'
license=('GPLv2')
depends=('open-xchange-realtime-core' 'open-xchange-grizzly')
makedepends=()
conflicts=()
provides=('open-xchange-realtime-json')
source=('https://software.open-xchange.com/products/appsuite/stable/debs/DebianJessie/all/open-xchange-realtime-json_7.8.0-6_all.deb')
sha256sums=('1fd742e2d137775d89f53ae9371a5f02227a67a674c9cd451a19fc19db70903d')

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
}