summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f550baf03e03e85dd3f174967f36afc36e82ffc8 (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-documents-ui
pkgver=7.8.0
pkgrel=6
pkgdesc='Meta package for all Open-Xchange Documents web applications'
groups=()
install='open-xchange-documents-ui.install'
arch=('any')
url='http://www.ox.io/'
license=('GPLv2')
depends=('open-xchange-documents-ui-editors')
makedepends=()
conflicts=()
provides=('open-xchange-documents-ui')
source=('https://software.open-xchange.com/products/appsuite/stable/debs/DebianJessie/all/open-xchange-documents-ui_7.8.0-6_all.deb')
sha256sums=('e6065de395625ef1bdb708e30d6d64b791d1dcea4e25391af2152ae3e9e75a61')

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
}