diff options
Diffstat (limited to 'dist')
-rw-r--r-- | dist/pacman/PKGBUILD | 31 | ||||
-rw-r--r-- | dist/pacman/linux-status.install | 19 |
2 files changed, 0 insertions, 50 deletions
diff --git a/dist/pacman/PKGBUILD b/dist/pacman/PKGBUILD deleted file mode 100644 index 896c5dc..0000000 --- a/dist/pacman/PKGBUILD +++ /dev/null @@ -1,31 +0,0 @@ -# Maintainer: Egor Tensin <Egor.Tensin@gmail.com> -pkgname=linux-status -pkgver=0.0.1 -pkgrel=1 -pkgdesc='Simple Linux status web page' -arch=(any) -url='https://github.com/egor-tensin/linux-status' -license=(MIT) -depends=(procps-ng python systemd) -install=linux-status.install -source=("$pkgname-$pkgver.tar.gz::$url/archive/master.tar.gz") -md5sums=(SKIP) - -package() { - cd "$srcdir/$pkgname-master" - - install -D -m 0644 -t "$pkgdir/usr/share/linux-status" LICENSE.txt - - install -D -m 0644 -t "$pkgdir/usr/share/doc/linux-status" README.md - install -D -m 0644 -t "$pkgdir/usr/share/doc/linux-status/img" img/example.png - - install -D -m 0755 -t "$pkgdir/srv/linux-status" app.py - install -D -m 0755 -t "$pkgdir/srv/linux-status" server.py - - install -D -m 0644 -t "$pkgdir/srv/linux-status" index.html - install -D -m 0644 -t "$pkgdir/srv/linux-status/css" css/bootstrap.min.css - install -D -m 0644 -t "$pkgdir/srv/linux-status/js" js/bootstrap.bundle.min.js - install -D -m 0644 -t "$pkgdir/srv/linux-status/js" js/jquery-3.3.1.min.js - - install -D -m 0644 -t "$pkgdir/usr/lib/systemd/system" dist/systemd/linux-status.service -} diff --git a/dist/pacman/linux-status.install b/dist/pacman/linux-status.install deleted file mode 100644 index 32b9a90..0000000 --- a/dist/pacman/linux-status.install +++ /dev/null @@ -1,19 +0,0 @@ -post_install() { - systemctl --system daemon-reload - systemctl --system enable linux-status - systemctl --system start linux-status -} - -pre_remove() { - systemctl --system stop linux-status.service - systemctl --system disable linux-status.service - systemctl --system daemon-reload -} - -pre_upgrade() { - pre_remove "$1" -} - -post_upgrade() { - post_install "$1" -} |