aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDuncan Bellamy <dunk@denkimushi.com>2021-11-10 09:12:22 +0000
committerAndy Postnikov <apostnikov@gmail.com>2021-11-10 21:56:38 +0000
commit810850c2046ba42ddf85685db51da315a72f0375 (patch)
tree98d89cd7b4f86e955947c4cc5edc164d28086223
parent90a8b356de481dd227de12858707df232cc18910 (diff)
community/sphinx: rebuild against libstemmer 2.2.0
* fix linter warning
-rw-r--r--community/sphinx/APKBUILD7
1 files changed, 3 insertions, 4 deletions
diff --git a/community/sphinx/APKBUILD b/community/sphinx/APKBUILD
index 2d7af1ddcbb..6012be8083a 100644
--- a/community/sphinx/APKBUILD
+++ b/community/sphinx/APKBUILD
@@ -3,7 +3,7 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=sphinx
pkgver=2.2.11
-pkgrel=5
+pkgrel=6
pkgdesc="Free open-source SQL full-text search engine"
url="http://www.sphinxsearch.com"
arch="all"
@@ -58,9 +58,8 @@ php() {
pkgdesc="PHP api for sphinx search engine"
mkdir -p "$subpkgdir"/usr/share/php/$pkgname/api
- for i in $(ls $builddir/api/*.php); do
- mv $i "$subpkgdir"/usr/share/php/$pkgname/api ;
- done
+ find $builddir/api/ -type f -maxdepth 1 -name "*.php" \
+ -exec mv {} "$subpkgdir"/usr/share/php/$pkgname/api/ \;
}