diff options
author | William Pitcock <nenolod@dereferenced.org> | 2017-04-08 21:24:30 +0000 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2017-04-08 21:24:30 +0000 |
commit | 5485bc56e50e2d2e96eebe7e3bc6c600779dd69a (patch) | |
tree | 554287acc7449a5ec00182c1766541a9daa8dcc5 /community/xapian-bindings/APKBUILD | |
parent | 439518a31b17931eaa83c44f0aac20aea1f1e9cc (diff) | |
download | 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/APKBUILD | 8 |
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/ } |