1 # Maintainer: Sven-Hendrik Haase <svenstaro@gmail.com>
2 # Contributor: Roel Gerrits <roel@roelgerrits.nl>
6 pkgdesc='X display manager for automatic logins'
8 url='https://github.com/spanezz/nodm'
10 depends=('pam' 'xorg-xinit')
11 makedepends=('help2man')
12 backup=('etc/nodm.conf')
13 source=("https://github.com/spanezz/nodm/archive/${pkgver}.tar.gz"
16 sha512sums=('0ccbe529c6c94e3518f4bd904147841e9929578004a87ece85cc0f8695f6a15d36cefa1ccae13aae677c93f686116e45f1387c523709d7b7bb7d12831abd4bde'
17 '3da879a9362bf514b8ae9fbeb586489f203f1aff538162074e8b8bdd148a813f2a5d9f187a4396221c5a2b6b1dd44e3d11d43911b7a8220fe0682e0dec3b248f'
18 '21214122072daec9c373c99d1c9c0898f58a277f90fab085b417989c62e6cf268fb52148f76ec12b9be23137af05059f37f901e3d54f49e6024a05fa75277381')
21 cd "${pkgname}-${pkgver}"
24 ./configure --prefix=/usr/
29 cd "${pkgname}-${pkgver}"
31 install -Dm755 nodm "${pkgdir}"/usr/bin/nodm
32 install -Dm644 ../nodm.conf "${pkgdir}"/etc/nodm.conf
33 install -Dm644 ../nodm.service "${pkgdir}"/usr/lib/systemd/system/nodm.service