nextcloud-background-job/PKGBUILD

22 lines
1008 B
Bash

# Maintainer: Patrick Lühne <patrick@luehne.de>
pkgname=nextcloud-background-job
pkgver=1.0.0
pkgrel=1
pkgdesc='Regularly performs the Nextcloud cron.php background job'
arch=('i686' 'x86_64')
url='https://git.luehne.de/cp-lounge/nextcloud-background-job/'
license=('MIT')
depends=('nextcloud')
source=('nextcloud-background-job.'{service,timer}
'LICENSE.md')
sha512sums=('2628b7c52f067c2bb6a820180d8d98d6b7380937071bd749b21a2385906c8f06b99257064f6e745c9ff800d45fb6a15473aa305288f68cdaf0b74810abf278c6'
'3aedfb198282d23a7017a9a33b06a63391a15e076cef36c5041c53da57a5ad2055a74e4f82c83de0af4dfed57971d954f4774f1d257e9f76cf8f8af395de6f49'
'328fcf40c7bf2a441af55c42682c7a5a49b43be1b1af852064849ec1d625b31c73e2f3c1fb95cfb823aee090713347f5dcda29679c2d050bd17380dfb5fdf047')
package() {
install -d ${pkgdir}/usr/lib/systemd/system/
install nextcloud-background-job.* ${pkgdir}/usr/lib/systemd/system/
install -D -m644 LICENSE.md ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}