aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/PKGBUILD
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-04-29 15:46:02 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-04-29 15:46:02 +0300
commitfc00420d376e59fd324b5ff73759ab19fc26e62b (patch)
tree81b19ea86120508d1e6265f3a98e25d44c5a7930 /PKGBUILD
parentaur: 1.0-1 (diff)
downloadconfig-links-fc00420d376e59fd324b5ff73759ab19fc26e62b.tar.gz
config-links-fc00420d376e59fd324b5ff73759ab19fc26e62b.zip
aur: install whole directories
Diffstat (limited to '')
-rw-r--r--PKGBUILD6
1 files changed, 1 insertions, 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/"