diff options
author | Ron Asimi | 2019-03-09 21:56:42 -0500 |
---|---|---|
committer | Ron Asimi | 2019-03-09 21:56:42 -0500 |
commit | d4acf4f21013dc5d0ddf96542d5461ed95ac3e82 (patch) | |
tree | 4195f9dc14fd8c806e45a2106ec6752cd51438f1 | |
parent | 644f7e3a9412d121788bdaeef9232ef6d7429186 (diff) | |
download | aur-d4acf4f21013dc5d0ddf96542d5461ed95ac3e82.tar.gz |
tested it this time
-rw-r--r-- | PKGBUILD | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -53,7 +53,8 @@ package() install -D -m644 powerlevel10k.zsh-theme "${pkgdir}/usr/share/zsh-theme-${_pkgname}/${_pkgname}.zsh-theme" # Install the utilities - install -D -dm644 functions/ "${pkgdir}/usr/share/{pkgname}/functions/" - install -D -dm644 gitstatus/ "${pkgdir}/usr/share/${pkgname}/gitstatus/" - install -D -dm644 gitstatus/bin "${pkgdir}/usr/share/${pkgname}/gitstatus/bin" + for FILE in functions/*.zsh; do + install -D -m644 "${FILE}" "${pkgdir}/usr/share/zsh-theme-${_pkgname}/functions/$(basename ${FILE})" + done + cp -r gitstatus "${pkgdir}/usr/share/zsh-theme-${_pkgname}/" } |