blob: 4251b8e1d74a1109644a398df5bf12c3fe3beeef (
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
29
30
31
32
33
34
35
|
# Maintainer: Felix Golatofski <contact@xdfr.de>
# Contributor: Jonas Heinrich <onny@project-insanity.org>
pkgname=nextcloud-app-mail-git
pkgver=0.2.0.r5643.g0628c304
pkgrel=1
pkgdesc="An email app for NextCloud"
arch=('any')
url="https://github.com/nextcloud/mail"
license=('AGPL')
makedepends=('npm' 'nodejs' 'php' 'mercurial')
depends=('nextcloud')
options=('!strip')
provides=('nextcloud-app-mail')
conflicts=('nextcloud-app-mail')
source=("git+https://github.com/nextcloud/mail.git")
sha512sums=('SKIP')
pkgver() {
cd "${srcdir}/mail"
git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/v//g'
}
build() {
cd "${srcdir}/mail"
make install-composer-deps
make optimize-js
make appstore
}
package() {
install -d "${pkgdir}/usr/share/webapps/nextcloud/apps"
tar -xvf "${srcdir}/mail/build/artifacts/mail.tar.gz" -C "${pkgdir}/usr/share/webapps/nextcloud/apps/"
install -D "${pkgdir}/usr/share/webapps/nextcloud/apps/mail/COPYING" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|