diff options
author | grufo | 2020-09-16 04:27:01 +0100 |
---|---|---|
committer | grufo | 2020-09-16 04:27:01 +0100 |
commit | dcae8dcb28673f16458f425ae9f6116f3631a2fa (patch) | |
tree | 6d112150c9fa1ebaa4eabd61c25e7bd1a6a9d9e4 /PKGBUILD | |
parent | ec48b03e9b51f5701fd53419d9b88fb6d5c29ff0 (diff) | |
download | aur-dcae8dcb28673f16458f425ae9f6116f3631a2fa.tar.gz |
PKGBUILD: use a simple symlink for the license directory
Diffstat (limited to 'PKGBUILD')
-rwxr-xr-x | PKGBUILD | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -8,7 +8,7 @@ pkgname='xampp' pkgver='7.4.10' -pkgrel=2 +pkgrel=3 pkgdesc='A stand-alone LAMPP distribution' url='http://www.apachefriends.org/' license=('GPL') @@ -94,8 +94,9 @@ package() { msg 'Copying executables and launcher...' # Licenses - install -dm755 "${pkgdir}/usr/share/licenses/xampp" - rsync -azq "${pkgdir}/opt/lampp/licenses"/. "${pkgdir}/usr/share/licenses/xampp" + install -dm755 "${pkgdir}/usr/share/licenses" + chmod -R a+rwX,g-w,o-w "${pkgdir}/opt/lampp/licenses" + ln -sf "/opt/lampp/licenses" "${pkgdir}/usr/share/licenses/xampp" # Executables install -dm755 "${pkgdir}/usr/bin" |