summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorQue Quotion2019-11-01 12:49:26 +0900
committerQue Quotion2019-11-01 12:50:17 +0900
commit6c088a21dd360852e6013d83debe467047626821 (patch)
tree9e498ac330e55aa37b68b3868fedcff2e3fbcdfd
parent7c79bfe21813f5403980a5aec5138fd6c6ae0d01 (diff)
downloadaur-6c088a21dd360852e6013d83debe467047626821.tar.gz
In theory, some systems may not have nproc; getconf _NPROCESSORS_ONLN is allegedly more portable. Update .SRCINFO for new hashsums!
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD8
-rw-r--r--optipng.sh.in2
-rw-r--r--svgo.sh.in2
-rw-r--r--upx.sh.in2
5 files changed, 11 insertions, 11 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4b0a84c7c6b..7e88cb40d26 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = makepkg-optimize
pkgdesc = Supplemental build and packaging optimizations for makepkg
- pkgver = 14
+ pkgver = 15
pkgrel = 1
url = https://wiki.archlinux.org/index.php/Makepkg-optimize
arch = any
@@ -39,9 +39,9 @@ pkgbase = makepkg-optimize
sha1sums = a893c32f2a3fff8b279025ec60f0c3d88143dc1e
sha1sums = 9270b5e33d4508a959688a10c20dec3732763937
sha1sums = 34a33b47a8b667f9dc810737c0f598660b962d4c
- sha1sums = fb3ab1f7d341efc421e5def39b48eb67f25e93a4
- sha1sums = 3f961ecc06c5bf24b5439be902f7eadbfcf0a629
- sha1sums = 038b4c0a36ba06614ae3205338e970e678efb6d8
+ sha1sums = 2e69ac6c8e3674faf7e5d1739f9d772d50332fc0
+ sha1sums = 0022423564ed30dfe91bb3faa7f0c03ddcf4f25f
+ sha1sums = fbd6ee512b6486320d41a007b9670dcf5a3430b6
sha1sums = 4d11331aeff1c1ec3de3759710acc060769ef274
sha1sums = 83a6d62b19184cac1de02c957cd4ea7bbdac9ddb
sha1sums = dea4d727d81ac040846555e59ac7c34eb0978233
diff --git a/PKGBUILD b/PKGBUILD
index eeb008796d3..d1b74272e7d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# Contributor: bartus ( aur\at\bartus.33mail.com )
pkgname=makepkg-optimize
-pkgver=14
+pkgver=15
pkgrel=1
pkgdesc='Supplemental build and packaging optimizations for makepkg'
arch=('any')
@@ -26,9 +26,9 @@ sha1sums=('a9af81c30f57b7db6a9a52796d79399a4e754791'
'a893c32f2a3fff8b279025ec60f0c3d88143dc1e'
'9270b5e33d4508a959688a10c20dec3732763937'
'34a33b47a8b667f9dc810737c0f598660b962d4c'
- 'fb3ab1f7d341efc421e5def39b48eb67f25e93a4'
- '3f961ecc06c5bf24b5439be902f7eadbfcf0a629'
- '038b4c0a36ba06614ae3205338e970e678efb6d8'
+ '2e69ac6c8e3674faf7e5d1739f9d772d50332fc0'
+ '0022423564ed30dfe91bb3faa7f0c03ddcf4f25f'
+ 'fbd6ee512b6486320d41a007b9670dcf5a3430b6'
'4d11331aeff1c1ec3de3759710acc060769ef274'
'83a6d62b19184cac1de02c957cd4ea7bbdac9ddb'
'dea4d727d81ac040846555e59ac7c34eb0978233'
diff --git a/optipng.sh.in b/optipng.sh.in
index 39136cb167d..d82008556b5 100644
--- a/optipng.sh.in
+++ b/optipng.sh.in
@@ -19,7 +19,7 @@ tidy_optipng() {
msg2 "$(gettext "Optimizing PNG images...")"
local png
find . -type f -iname "*.png" 2>/dev/null | while read -r png ; do
- [ $(jobs -p|wc -l) -gt $(nproc) ] && wait -n
+ [ $(jobs -p|wc -l) -gt $(getconf _NPROCESSORS_ONLN) ] && wait -n
if [[ $(file --brief --mime-type "$png") = 'image/png' ]]; then
{ optipng "${OPTIPNGFLAGS[@]}" "$png" &>/dev/null ||
warning "$(gettext "Could not optimize PNG image : %s")" "${png/$pkgdir\//}"; } &
diff --git a/svgo.sh.in b/svgo.sh.in
index 13b46c1fd16..9b306236ba1 100644
--- a/svgo.sh.in
+++ b/svgo.sh.in
@@ -19,7 +19,7 @@ tidy_svgo() {
msg2 "$(gettext "Optimizing SVG images...")"
local svg
find . -type f -iname "*.svg" 2>/dev/null | while read -r svg ; do
- [ $(jobs -p|wc -l) -gt $(nproc) ] && wait -n
+ [ $(jobs -p|wc -l) -gt $(getconf _NPROCESSORS_ONLN) ] && wait -n
if [[ $(file --brief --mime-type "$svg") = 'image/svg' ]]; then
{ svgo "${SVGOFLAGS[@]}" "$svg" &>/dev/null ||
warning "$(gettext "Could not optimize SVG image : %s")" "${svg/$pkgdir\//}"; } &
diff --git a/upx.sh.in b/upx.sh.in
index 6d03d1fb7cd..43c33d37fc6 100644
--- a/upx.sh.in
+++ b/upx.sh.in
@@ -19,7 +19,7 @@ tidy_upx() {
msg2 "$(gettext "Compressing binaries with %s...")" "UPX"
local binary
find . -type f -perm -u+w 2>/dev/null | while read -r binary ; do
- [ $(jobs -p|wc -l) -gt $(nproc) ] && wait -n
+ [ $(jobs -p|wc -l) -gt $(getconf _NPROCESSORS_ONLN) ] && wait -n
mime=$(file --brief --mime-type "$binary")
case "$mime" in
application/x-executable | application/x-dosexec )