summaryrefslogtreecommitdiff
path: root/raspi-lights-out/PKGBUILD
blob: 1bd4d991850977798cfe6be41314ecadd1f047a9 (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
27
28
29
# Maintainer: Erich Eckner <arch at eckner dot net>
pkgname=raspi-lights-out
pkgver=0.2
pkgrel=1
pkgdesc='simple skripts for lights-out like management from a raspi'
arch=('any')
url="https://git.eckner.net/Erich/${pkgname}"
license=('GPL')
backup=('etc/lights-out.conf' 'srv/http/lights-out/password')
source=(
    "https://git.eckner.net/Erich/${pkgname}/snapshot/${pkgname}-${pkgver}.tar.xz"
)
sha512sums=('44e96d550204a93caa476c5d1164188c6fc1cc0ea96544a13012492c5ce51c1e63d4f885b27e56493595bae073de7ee2a01a858740345e5bd6d135237d43772c')

build() {

    cd ${pkgname}-${pkgver}
    make

}

package() {

    depends=('php' 'wiringpi')

    cd ${pkgname}-${pkgver}
    make DESTDIR=${pkgdir} install

}