archrelease: copy trunk to community-any
[ArchLinux/community.git] / nodm / trunk / PKGBUILD
blobbbb88679eb8c44af51e4d64ff0584537b4db8137
1 # Maintainer: Sven-Hendrik Haase <svenstaro@gmail.com>
2 # Contributor: Roel Gerrits <roel@roelgerrits.nl>
3 pkgname=nodm
4 pkgver=0.13
5 pkgrel=3
6 pkgdesc='X display manager for automatic logins'
7 arch=('x86_64')
8 url='https://github.com/spanezz/nodm'
9 license=('GPL')
10 depends=('pam' 'xorg-xinit')
11 makedepends=('help2man')
12 backup=('etc/nodm.conf')
13 source=("https://github.com/spanezz/nodm/archive/${pkgver}.tar.gz"
14         "nodm.conf"
15         "nodm.service")
16 sha512sums=('0ccbe529c6c94e3518f4bd904147841e9929578004a87ece85cc0f8695f6a15d36cefa1ccae13aae677c93f686116e45f1387c523709d7b7bb7d12831abd4bde'
17             '3da879a9362bf514b8ae9fbeb586489f203f1aff538162074e8b8bdd148a813f2a5d9f187a4396221c5a2b6b1dd44e3d11d43911b7a8220fe0682e0dec3b248f'
18             '21214122072daec9c373c99d1c9c0898f58a277f90fab085b417989c62e6cf268fb52148f76ec12b9be23137af05059f37f901e3d54f49e6024a05fa75277381')
20 build() {
21         cd "${pkgname}-${pkgver}"
23     ./autogen.sh
24         ./configure --prefix=/usr/
25         make
28 package() {
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