diff options
Diffstat (limited to 'community/sphinx/APKBUILD')
-rw-r--r-- | community/sphinx/APKBUILD | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/community/sphinx/APKBUILD b/community/sphinx/APKBUILD index bdf8c5009d..b09022d0c8 100644 --- a/community/sphinx/APKBUILD +++ b/community/sphinx/APKBUILD @@ -15,7 +15,7 @@ makedepends="$depends_dev postgresql-dev mariadb-dev unixodbc-dev expat-dev install="" pkgusers="$pkgname" pkggroups="$pkgname" -subpackages="$pkgname-doc $pkgname-php $pkgname-python" +subpackages="$pkgname-doc $pkgname-php::noarch $pkgname-python::noarch" source="http://sphinxsearch.com/files/$pkgname-$pkgver-release.tar.gz sphinx.initd sphinx.confd @@ -66,7 +66,7 @@ package() { php() { pkgdesc="PHP api for sphinx search engine" - arch="noarch" + mkdir -p "$subpkgdir"/usr/share/php/$pkgname/api for i in $(ls $_builddir/api/*.php); do mv $i "$subpkgdir"/usr/share/php/$pkgname/api ; @@ -75,9 +75,8 @@ php() { python() { - pkgdesc="Python api for sphinx search engine" - arch="noarch" + mkdir -p "$subpkgdir"/usr/lib/python2.7/site-packages/$pkgname/ for i in $(ls $_builddir/api/*.py); do mv $i "$subpkgdir"/usr/lib/python2.7/site-packages/$pkgname/ ; |