aboutsummaryrefslogtreecommitdiffstats
path: root/community/xapian-bindings/APKBUILD
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2017-04-08 21:24:30 +0000
committerWilliam Pitcock <nenolod@dereferenced.org>2017-04-08 21:24:30 +0000
commit5485bc56e50e2d2e96eebe7e3bc6c600779dd69a (patch)
tree554287acc7449a5ec00182c1766541a9daa8dcc5 /community/xapian-bindings/APKBUILD
parent439518a31b17931eaa83c44f0aac20aea1f1e9cc (diff)
downloadaports-5485bc56e50e2d2e96eebe7e3bc6c600779dd69a.tar.gz
aports-5485bc56e50e2d2e96eebe7e3bc6c600779dd69a.tar.bz2
aports-5485bc56e50e2d2e96eebe7e3bc6c600779dd69a.tar.xz
community/xapian-bindings: fix aarch64
Diffstat (limited to 'community/xapian-bindings/APKBUILD')
-rw-r--r--community/xapian-bindings/APKBUILD8
1 files changed, 7 insertions, 1 deletions
diff --git a/community/xapian-bindings/APKBUILD b/community/xapian-bindings/APKBUILD
index a159900086..b68fe99578 100644
--- a/community/xapian-bindings/APKBUILD
+++ b/community/xapian-bindings/APKBUILD
@@ -77,7 +77,13 @@ php7() {
"$subpkgdir"/etc/php7/conf.d || return 1
echo ';extension=xapian.so' > "$subpkgdir/etc/php7/conf.d/xapian.ini" \
|| return 1
- mv "$pkgdir"/usr/lib/php7/modules/* "$subpkgdir"/usr/lib/php7/modules/
+
+ if [ -d "$pkgdir"/usr/lib/php7/modules ]; then
+ mv "$pkgdir"/usr/lib/php7/modules/* "$subpkgdir"/usr/lib/php7/modules/
+ else
+ mv "$pkgdir"/usr/lib/php7/* "$subpkgdir"/usr/lib/php7/
+ fi
+
# mv "$pkgdir"/usr/share/php7 "$subpkgdir"/usr/share/
}