blob: 1c6acb303a665b46e95e2a6ce3ef44309762f090 (
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
36
37
38
39
|
# $Id$
# Maintainer: Jonas Heinrich <onny@project-insanity.org>
# Contributor: Jonas Heinrich <onny@project-insanity.org>
# Contributor: Sergej Pupykin <arch+pub@sergej.pp.ru>
pkgname=nextcloud-app-tasks-git
pkgver=v0.9.5.r152.gbf6cdba
pkgrel=3
pkgdesc="Enhanced task app for NextCloud"
arch=('any')
url="https://github.com/nextcloud/tasks"
license=('AGPL')
depends=('nextcloud')
makedepends=('yarn' 'zip')
provides=('nextcloud-app-tasks')
conflicts=('nextcloud-app-tasks')
options=('!strip')
source=("git+https://github.com/nextcloud/tasks.git")
sha512sums=('SKIP')
pkgver() {
cd "tasks"
git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
sed -i 's/openssl/#openssl/g' ${srcdir}/tasks/Makefile
}
build() {
cd "${srcdir}/tasks"
make
make appstore
}
package() {
install -d "${pkgdir}/usr/share/webapps/nextcloud/apps"
tar -xvf "${srcdir}/tasks/build/artifacts/appstore/tasks.tar.gz" -C "${pkgdir}/usr/share/webapps/nextcloud/apps"
}
|