summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e6f87d8c0993959a7e43e8a1b7f16a93b5228990 (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-osgi
pkgver=7.8.0
pkgrel=6
pkgdesc='3rd party OSGi bundles used by the Open-Xchange backend'
groups=('open-xchange-minimal')
install='open-xchange-osgi.install'
arch=('any')
url='http://www.ox.io/'
license=('GPLv2')
depends=()
makedepends=()
conflicts=()
provides=('open-xchange-osgi')
source=('https://software.open-xchange.com/products/appsuite/stable/backend/DebianJessie/all/open-xchange-osgi_7.8.0-6_all.deb')
sha256sums=('d4b96f5e6b0e194bc3a6c6c3827b12972b801765491d3dd27dcc750f5697ead9')

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
}