summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorQue Quotion2020-03-04 19:14:53 +0900
committerQue Quotion2020-03-04 19:14:53 +0900
commit231d8b3e857954e9de49f1a5766c75766888d64e (patch)
tree33270410b09f3577495c48b76fdf5b18332868b7
parent8e76fa7af921d82159068405bb8aae9b15d1e98b (diff)
downloadaur-231d8b3e857954e9de49f1a5766c75766888d64e.tar.gz
Don't duplicate tidy scripts as executable scripts; actually install executable scripts
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD5
2 files changed, 4 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1478bb45315b..006182e7978f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 20c7a281b81f..00c0618cc783 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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}