blob: fca4da51f0203d08bf43b24b3cb25968b23f11df (
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
|
# Maintainer: Mike Boiko <mike@boiko.ca>
_pkgname=nextcloud-sync-cron
pkgname=${_pkgname}-git
pkgver=r19.646f56d
pkgrel=1
pkgdesc='Script to run the Linux/Unix Nextcloud command line client in a cron job.'
url="https://github.com/qcif/nextcloud-sync-cron"
license=('MIT')
arch=('any')
depends=('curl' 'nextcloud-client')
makedepends=('git')
source=("git+${url}.git")
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/$_pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd ${srcdir}/${_pkgname}
install -Dm 755 nextcloud-sync-cron.sh "${pkgdir}/usr/bin/nextcloud-sync-cron.sh"
}
# vim: ft=sh ts=2 sw=2 et
|