From fc00420d376e59fd324b5ff73759ab19fc26e62b Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Thu, 29 Apr 2021 15:46:02 +0300 Subject: aur: install whole directories --- PKGBUILD | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index d8ebad9..5c192a9 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -23,11 +23,7 @@ package() { install -D -m 0755 -t "$pkgdir/usr/lib/config-links" links-update install -D -m 0755 -t "$pkgdir/usr/lib/config-links" links-remove - install -D -m 0644 -t "$pkgdir/usr/lib/config-links/src" src/common.sh - install -D -m 0644 -t "$pkgdir/usr/lib/config-links/src" src/db.sh - install -D -m 0644 -t "$pkgdir/usr/lib/config-links/src" src/os.sh - install -D -m 0644 -t "$pkgdir/usr/lib/config-links/src" src/path.sh - install -D -m 0644 -t "$pkgdir/usr/lib/config-links/src" src/vars.sh + find src -type f -exec install -D -m 0644 -t "$pkgdir/usr/lib/config-links/src" {} ';' install -d "$pkgdir/usr/bin" ln -s -- /usr/lib/config-links/links-update "$pkgdir/usr/bin/" -- cgit v1.2.3