diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 16 |
1 files changed, 7 insertions, 9 deletions
@@ -1,8 +1,8 @@ # Maintainer: Egor Tensin <Egor.Tensin@gmail.com> pkgname=linux-status -pkgver=1.2 -pkgrel=2 -pkgdesc='Simple Linux status web page' +pkgver=2.0 +pkgrel=1 +pkgdesc='Simple Linux server monitoring' arch=(any) url='https://github.com/egor-tensin/linux-status' license=(MIT) @@ -21,14 +21,12 @@ package() { 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 - find img -type f -exec install -D -m 0644 -t "$pkgdir/srv/linux-status/img" {} ';' + install -D -m 0644 -t "$pkgdir/usr/share/doc/linux-status/doc" doc/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 0755 -t "$pkgdir/srv/linux-status" src/app.py + install -D -m 0755 -t "$pkgdir/srv/linux-status" src/server.py - install -D -m 0644 -t "$pkgdir/srv/linux-status" index.html - find css -type f -exec install -D -m 0644 -t "$pkgdir/srv/linux-status/css" {} ';' - find js -type f -exec install -D -m 0644 -t "$pkgdir/srv/linux-status/js" {} ';' + cp -dr --preserve=mode,timestamp html "$pkgdir/srv/linux-status" install -D -m 0644 -t "$pkgdir/usr/lib/systemd/system" dist/systemd/linux-status.service } |