aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-04-29 15:30:58 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-04-29 15:30:58 +0300
commitd0cd6290c8a0420d100f7b3db95ba9901d9b57d7 (patch)
treefb20935d81aa6546b43e29055e176137d0db57ac
parentaur: generalize `make push` (diff)
downloadlinux-status-d0cd6290c8a0420d100f7b3db95ba9901d9b57d7.tar.gz
linux-status-d0cd6290c8a0420d100f7b3db95ba9901d9b57d7.zip
aur: install whole directories
Diffstat (limited to '')
-rw-r--r--PKGBUILD9
1 files changed, 4 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 943c98f..a72075c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -14,22 +14,21 @@ md5sums=(SKIP)
package() {
cd "$srcdir"
- install -D -m 0644 -t "$pkgdir/usr/share/doc/linux-status" "../README.Arch"
+ install -D -m 0644 -t "$pkgdir/usr/share/doc/linux-status" ../README.Arch
cd "$pkgname-$pkgver"
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
+ find img -type f -exec install -D -m 0644 -t "$pkgdir/srv/linux-status/img" {} ';'
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
+ 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" {} ';'
install -D -m 0644 -t "$pkgdir/usr/lib/systemd/system" dist/systemd/linux-status.service
}