diff options
author | Michael Gerber | 2016-01-02 15:54:29 +0100 |
---|---|---|
committer | Michael Gerber | 2016-01-02 15:54:29 +0100 |
commit | 96820e4bd897c6f6afc9643425704bb014f750c2 (patch) | |
tree | 0d693b70d6b760f507c7431d6413cd129cef4b93 | |
download | aur-open-xchange-appsuite-l10n-en-us.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 28 | ||||
-rw-r--r-- | open-xchange-appsuite-l10n-en-us.install | 14 |
3 files changed, 59 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..019790499161 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +# Generated by mksrcinfo v8 +# Sat Jan 2 14:54:29 UTC 2016 +pkgbase = open-xchange-appsuite-l10n-en-us + pkgdesc = Translation of the OX App Suite HTML5 client (en_US) + pkgver = 7.8.0 + pkgrel = 6 + url = http://www.ox.io/ + install = open-xchange-appsuite-l10n-en-us.install + arch = any + license = GPLv2 + depends = open-xchange-l10n-en-us + provides = open-xchange-appsuite-l10n-en-us + source = https://software.open-xchange.com/products/appsuite/stable/debs/DebianJessie/all/open-xchange-appsuite-l10n-en-us_7.8.0-6_all.deb + sha256sums = c33e785a0abf87ff33e98eedc2c43f0a37d7739c3f0e0f111ebf6a9114d1cec1 + +pkgname = open-xchange-appsuite-l10n-en-us + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..c07f67814f45 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Michael Gerber <aur at lynxcore dot org > +pkgname=open-xchange-appsuite-l10n-en-us +pkgver=7.8.0 +pkgrel=6 +pkgdesc='Translation of the OX App Suite HTML5 client (en_US)' +groups=() +install='open-xchange-appsuite-l10n-en-us.install' +arch=('any') +url='http://www.ox.io/' +license=('GPLv2') +depends=('open-xchange-l10n-en-us') +makedepends=() +conflicts=() +provides=('open-xchange-appsuite-l10n-en-us') +source=('https://software.open-xchange.com/products/appsuite/stable/debs/DebianJessie/all/open-xchange-appsuite-l10n-en-us_7.8.0-6_all.deb') +sha256sums=('c33e785a0abf87ff33e98eedc2c43f0a37d7739c3f0e0f111ebf6a9114d1cec1') + +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 +} diff --git a/open-xchange-appsuite-l10n-en-us.install b/open-xchange-appsuite-l10n-en-us.install new file mode 100644 index 000000000000..27ab8bbd33a0 --- /dev/null +++ b/open-xchange-appsuite-l10n-en-us.install @@ -0,0 +1,14 @@ +# This is a default template for a post-install scriptlet. +# Uncomment only required functions and remove any functions +# you don't need (and this header). + +pre_install() { + if ! id -u "open-xchange" >/dev/null 2>&1; then + echo "user open-xchange does not exist. Creating it now" + useradd -U -s /usr/bin/false -d /opt/open-xchange open-xchange + fi +} + +post_install() { + chown -R open-xchange:open-xchange /opt/open-xchange +} |