From 3d58eeefc43e675d4aae33be5a3d4dcbf423113f Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 6 Mar 2021 22:22:37 +0300 Subject: export pacman packaging to a separate branch --- dist/pacman/PKGBUILD | 31 ------------------------------- dist/pacman/linux-status.install | 19 ------------------- 2 files changed, 50 deletions(-) delete mode 100644 dist/pacman/PKGBUILD delete mode 100644 dist/pacman/linux-status.install (limited to 'dist/pacman') 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 -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" -} -- cgit v1.2.3