summaryrefslogtreecommitdiff
path: root/raspi-lights-out/PKGBUILD
blob: 3d35af42bd7cf42da8ff9eddc54a15ee1e3aca85 (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.1
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=('db676682ae0ec2ae4710bc9a3173f5358442c1d55258f3e8ea53c16fba8fcba88b0e13766a3c1a1756b60289193bfeee0283e78c78c07cf3c5f64a1b88f839b1')

build() {

    cd ${pkgname}-${pkgver}
    make

}

package() {

    depends=('php' 'wiringpi')

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

}