aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/dist
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-03-06 22:22:37 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-03-06 22:22:37 +0300
commit3d58eeefc43e675d4aae33be5a3d4dcbf423113f (patch)
treef9d5b72d57b9ce4759d398a335eb6a660f9c55a3 /dist
parentblacklist aux files for `git archive` (diff)
downloadlinux-status-3d58eeefc43e675d4aae33be5a3d4dcbf423113f.tar.gz
linux-status-3d58eeefc43e675d4aae33be5a3d4dcbf423113f.zip
export pacman packaging to a separate branchv0.0.1
Diffstat (limited to 'dist')
-rw-r--r--dist/pacman/PKGBUILD31
-rw-r--r--dist/pacman/linux-status.install19
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"
-}