diff options
author | Que Quotion | 2020-03-04 19:14:53 +0900 |
---|---|---|
committer | Que Quotion | 2020-03-04 19:14:53 +0900 |
commit | 231d8b3e857954e9de49f1a5766c75766888d64e (patch) | |
tree | 33270410b09f3577495c48b76fdf5b18332868b7 | |
parent | 8e76fa7af921d82159068405bb8aae9b15d1e98b (diff) | |
download | aur-231d8b3e857954e9de49f1a5766c75766888d64e.tar.gz |
Don't duplicate tidy scripts as executable scripts; actually install executable scripts
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 5 |
2 files changed, 4 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = makepkg-optimize pkgdesc = Supplemental build and packaging optimizations for makepkg pkgver = 18 - pkgrel = 2 + pkgrel = 3 url = https://wiki.archlinux.org/index.php/Makepkg-optimize arch = any license = GPL @@ -3,7 +3,7 @@ pkgname=makepkg-optimize pkgver=18 -pkgrel=2 +pkgrel=3 pkgdesc='Supplemental build and packaging optimizations for makepkg' arch=('any') license=('GPL') @@ -91,7 +91,8 @@ package() { install -m644 -D -t ${pkgdir}/usr/share/makepkg/buildenv/ ${_buildenv[@]%.in} # Executable finding scripts - install -m644 -D -t ${pkgdir}/usr/share/makepkg/executable/ ${_executable[@]//-exec.sh.in/.sh} + for i in ${_executable[@]%.in}; do + install -m644 -D -T ${i} ${pkgdir}/usr/share/makepkg/executable/${i//-exec.sh/.sh}; done # Supplemental Tidy scripts install -m644 -D -t ${pkgdir}/usr/share/makepkg/tidy/ ${_tidy[@]%.in} |