diff options
author | Michael Gerber | 2016-01-02 15:54:25 +0100 |
---|---|---|
committer | Michael Gerber | 2016-01-02 15:54:25 +0100 |
commit | c9d6c9f5e980dd150b16d22830e068ac5b2dbc16 (patch) | |
tree | 06dadc8b46775f9d3b97281077c7fdf3dc6a0f3b | |
download | aur-c9d6c9f5e980dd150b16d22830e068ac5b2dbc16.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 28 | ||||
-rw-r--r-- | open-xchange-appsuite-l10n-de-de.install | 14 |
3 files changed, 59 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..f869004defdc --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +# Generated by mksrcinfo v8 +# Sat Jan 2 14:54:25 UTC 2016 +pkgbase = open-xchange-appsuite-l10n-de-de + pkgdesc = Translation of the OX App Suite HTML5 client (de_DE) + pkgver = 7.8.0 + pkgrel = 6 + url = http://www.ox.io/ + install = open-xchange-appsuite-l10n-de-de.install + arch = any + license = GPLv2 + depends = open-xchange-l10n-de-de + provides = open-xchange-appsuite-l10n-de-de + source = https://software.open-xchange.com/products/appsuite/stable/debs/DebianJessie/all/open-xchange-appsuite-l10n-de-de_7.8.0-6_all.deb + sha256sums = 238481c5607d9cc0268a804de877487ebede714dcae8741188814ff08e0975d4 + +pkgname = open-xchange-appsuite-l10n-de-de + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..808a46ebc643 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Michael Gerber <aur at lynxcore dot org > +pkgname=open-xchange-appsuite-l10n-de-de +pkgver=7.8.0 +pkgrel=6 +pkgdesc='Translation of the OX App Suite HTML5 client (de_DE)' +groups=() +install='open-xchange-appsuite-l10n-de-de.install' +arch=('any') +url='http://www.ox.io/' +license=('GPLv2') +depends=('open-xchange-l10n-de-de') +makedepends=() +conflicts=() +provides=('open-xchange-appsuite-l10n-de-de') +source=('https://software.open-xchange.com/products/appsuite/stable/debs/DebianJessie/all/open-xchange-appsuite-l10n-de-de_7.8.0-6_all.deb') +sha256sums=('238481c5607d9cc0268a804de877487ebede714dcae8741188814ff08e0975d4') + +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-de-de.install b/open-xchange-appsuite-l10n-de-de.install new file mode 100644 index 000000000000..27ab8bbd33a0 --- /dev/null +++ b/open-xchange-appsuite-l10n-de-de.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 +} |