summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9b1e92efdb3aad77b6949e41e2d327dd2d61a8d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Maintainer: Jan Holthuis <holthuis.jan@googlemail.com>

pkgname=calibre-server-systemd
pkgver=1.0
pkgrel=2
pkgdesc="Systemd service for calibre-server"
url="https://github.com/kovidgoyal/calibre"
arch=('any')
depends=('calibre')
license=('GPL')
source=('calibre-server.service'
        'calibre-server.sysusers')

sha256sums=('4d043544c00969a9c70ab603ef202384b2134974499fcbcb6c804b150a47af25'
            '435d956100b7474133ec58764d7e9d8d641fbac0e623952769e9817d7187025d')

package() {
  install -D -m 644 "${srcdir}/calibre-server.sysusers" "${pkgdir}/usr/lib/sysusers.d/calibre-server.conf"
  install -D -m 644 "${srcdir}/calibre-server.service" "${pkgdir}/usr/lib/systemd/system/calibre-server.service"
}