diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-04-29 15:30:58 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-04-29 15:30:58 +0300 |
commit | d0cd6290c8a0420d100f7b3db95ba9901d9b57d7 (patch) | |
tree | fb20935d81aa6546b43e29055e176137d0db57ac /PKGBUILD | |
parent | aur: generalize `make push` (diff) | |
download | linux-status-d0cd6290c8a0420d100f7b3db95ba9901d9b57d7.tar.gz linux-status-d0cd6290c8a0420d100f7b3db95ba9901d9b57d7.zip |
aur: install whole directories
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -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 } |