summaryrefslogtreecommitdiff
path: root/raspi-lights-out/PKGBUILD
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2021-01-30 20:44:11 +0100
committerErich Eckner <git@eckner.net>2021-01-30 20:44:11 +0100
commit1e833c56c08ed850509d4db59e77225887106847 (patch)
tree9a8ff9e28ee5f1dd23d6251a4263d2c72becb443 /raspi-lights-out/PKGBUILD
parent673e5a0a5fa9c7944e37657fc83c3b6f88f73f5f (diff)
downloadarchlinuxewe-1e833c56c08ed850509d4db59e77225887106847.tar.xz
raspi-lights-out new
Diffstat (limited to 'raspi-lights-out/PKGBUILD')
-rwxr-xr-xraspi-lights-out/PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/raspi-lights-out/PKGBUILD b/raspi-lights-out/PKGBUILD
new file mode 100755
index 000000000..f50463f8c
--- /dev/null
+++ b/raspi-lights-out/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: Erich Eckner <arch at eckner dot net>
+pkgname=raspi-lights-out
+pkgver=0.0
+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=('e623aa295c01348b843e084abcc00bedc894a97fd64f568138b5a9f3c0ce613a28990d7c72886a854f530286613f8b9f9a1db0f483b031d0bec9992074eef9da')
+
+build() {
+
+ cd ${pkgname}-${pkgver}
+ make
+
+}
+
+package() {
+
+ depends=('php' 'wiringpi')
+
+ cd ${pkgname}-${pkgver}
+ make DESTDIR=${pkgdir} install
+
+}