aboutsummaryrefslogtreecommitdiffstats
path: root/community/sphinx/APKBUILD
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2016-11-02 11:51:56 +0200
committerTimo Teräs <timo.teras@iki.fi>2016-11-02 11:51:56 +0200
commita2e061d5095bdd9ec5421e02fdfe2315e1b05136 (patch)
tree882fc377c12fe7e5d23ab7de7c519305ad771f4a /community/sphinx/APKBUILD
parent84640d4e8fd8a12e4b2caf67d9ab0c37931eaf76 (diff)
downloadaports-a2e061d5095bdd9ec5421e02fdfe2315e1b05136.tar.gz
aports-a2e061d5095bdd9ec5421e02fdfe2315e1b05136.tar.bz2
aports-a2e061d5095bdd9ec5421e02fdfe2315e1b05136.tar.xz
community/[various]: dont set arch in split function
Diffstat (limited to 'community/sphinx/APKBUILD')
-rw-r--r--community/sphinx/APKBUILD7
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/ ;