diff options
author | Erich Eckner <git@eckner.net> | 2020-10-10 20:26:37 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2020-10-10 20:26:37 +0200 |
commit | 437fbd4fcc471fd926eda198ff13ac71b2a382da (patch) | |
tree | cffcd64664f148368339c808fc96fc905fdd116c /reboot-if-no-net-connection/PKGBUILD | |
parent | 27b3ead4fbd044f8467c20295823a870c263233f (diff) | |
download | archlinuxewe.git.save-437fbd4fcc471fd926eda198ff13ac71b2a382da.tar.xz |
reboot-if-no-net-connection new
Diffstat (limited to 'reboot-if-no-net-connection/PKGBUILD')
-rwxr-xr-x | reboot-if-no-net-connection/PKGBUILD | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/reboot-if-no-net-connection/PKGBUILD b/reboot-if-no-net-connection/PKGBUILD new file mode 100755 index 00000000..c60cadac --- /dev/null +++ b/reboot-if-no-net-connection/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Erich Eckner <arch at eckner dot net> +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 + +} |