From 437fbd4fcc471fd926eda198ff13ac71b2a382da Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Sat, 10 Oct 2020 20:26:37 +0200 Subject: reboot-if-no-net-connection new --- reboot-if-no-net-connection/PKGBUILD | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100755 reboot-if-no-net-connection/PKGBUILD (limited to 'reboot-if-no-net-connection') diff --git a/reboot-if-no-net-connection/PKGBUILD b/reboot-if-no-net-connection/PKGBUILD new file mode 100755 index 000000000..c60cadac3 --- /dev/null +++ b/reboot-if-no-net-connection/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Erich Eckner +pkgname=reboot-if-no-net-connection +pkgver=0.0 +pkgrel=1 +pkgdesc="Script to reboot if no net connection was found" +arch=('any') +url="https://git.eckner.net/Erich/${pkgname}" +license=('GPL') +depends=('iproute2') +source=( + "https://git.eckner.net/Erich/${pkgname}/snapshot/${pkgname}-v${pkgver}.tar.xz" +) +sha512sums=('b14b4f60a423dc415a5959380f0d55c4090e6cff1233432152e6460c188f74d8784600fd85de52d3c2df0bdbecff74f58cc0f2af022eebc6e6c8fc4c9de00ba8') + +build() { + + cd ${pkgname}-v${pkgver} + make + +} + +package() { + + cd ${pkgname}-v${pkgver} + make DESTDIR=${pkgdir} install + +} -- cgit v1.2.3-70-g09d2