summaryrefslogtreecommitdiff
path: root/raspi-lights-out/PKGBUILD
blob: 34b0f614e24ffbfb3fe139458ee08f8274977907 (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.3.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=('5ea146c6e54e870c364856f2cf50d3ba21f5902c5743b03f59bf87f2b8f22bb6a448a63589ca6681668b0673a9307d3ab361cc0b7ba192821f8d9dd6513a0ed6')

build() {

    cd ${pkgname}-${pkgver}
    make

}

package() {

    depends=('php' 'wiringpi')

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

}