Commit 75ad2ca2 authored by Natanael Copa's avatar Natanael Copa

main/[various]: dont set arch in split function

parent d9e14b7b
......@@ -48,7 +48,6 @@ package() {
}
alsaconf() {
arch="noarch"
depends="alsa-utils bash"
cd "$_builddir"
mkdir -p "$subpkgdir"/usr/sbin
......
......@@ -167,7 +167,6 @@ dev() {
local _file
default_dev
depends="$depends perl apr-util-dev"
arch="noarch"
# install apxs utility
install -d "$subpkgdir"/usr/bin
......@@ -185,7 +184,6 @@ doc() {
}
_error() {
arch="noarch"
pkgdesc="Apache Multi Language Custom Error Documents"
install -d "$subpkgdir"/usr/share/apache2
mv "$pkgdir"/usr/share/apache2/error \
......@@ -203,7 +201,6 @@ http2() {
}
icons() {
arch="noarch"
pkgdesc="Apache Public Domain Icons"
install -d "$subpkgdir"/usr/share/apache2
mv "$pkgdir"/usr/share/apache2/icons \
......
......@@ -41,7 +41,6 @@ bashcomp() {
depends=""
pkgdesc="Bash completions for $pkgname"
install_if="$pkgname=$pkgver-r$pkgrel bash-completion"
arch="noarch"
install -Dm644 "$_builddir"/doc/bash_completion/aria2c \
"$subpkgdir"/usr/share/bash-completion/completions/_aria2c || return 1
......
......@@ -43,7 +43,6 @@ package() {
vim() {
depends=""
pkgdesc="Vim syntax for $pkgname"
arch="noarch"
install -Dm644 "$_builddir"/vim/syntax/$pkgname.vim \
"$subpkgdir"/usr/share/vim/vimfiles/syntax/$pkgname.vim
......
......@@ -48,7 +48,6 @@ package() {
compat() {
pkgdesc="aspell compatibility scripts for ispell and unix spell"
depends="aspell"
arch="noarch"
install -d "$subpkgdir"/usr/bin
cd "$pkgdir"/usr/share/$pkgname
mv spell ispell "$subpkgdir"/usr/bin/
......@@ -57,7 +56,6 @@ compat() {
utils() {
pkgdesc="aspell misc utils"
depends="aspell perl"
arch="all"
install -d "$subpkgdir"/usr/bin
cd "$pkgdir"/usr/bin
mv pre* aspell-import run-with-aspell word-list-compress "$subpkgdir"/usr/bin/
......
......@@ -204,7 +204,6 @@ speex() { _find_and_move '*_speex*'; }
alsa() { _find_and_move '*_alsa*'; }
sample() {
arch="noarch"
pkgdesc="Sample configuration files for asterisk"
cd "$_builddir"
mkdir -p "$subpkgdir"/var/lib/asterisk/phoneprov
......@@ -216,7 +215,6 @@ sample() {
}
sound_moh() {
arch="noarch"
pkgdesc="Default on-hold music files for asterisk"
depends=
install=
......@@ -225,7 +223,6 @@ sound_moh() {
}
sound_en() {
arch="noarch"
pkgdesc="English sound files for asterisk"
depends=
install=
......
......@@ -38,7 +38,6 @@ package() {
tests() {
pkgdesc="Tests for Augeas lenses"
arch="noarch"
mkdir -p "$subpkgdir"/usr/share/augeas/lenses/dist/
mv "$pkgdir"/usr/share/augeas/lenses/dist/tests \
......
......@@ -54,7 +54,6 @@ package() {
completion() {
pkgdesc="Bash completion script for $pkgname"
install_if="$pkgname=$pkgver-r$pkgrel bash-completion"
arch="noarch"
install -Dm644 "$builddir"/btrfs-completion \
"$subpkgdir"/usr/share/bash-completion/completions/btrfs
......
......@@ -76,7 +76,6 @@ package() {
perl() {
pkgdesc="perl bindings to collectd"
depends="perl"
arch="noarch"
install -d "$subpkgdir"/usr/lib/ "$subpkgdir"/usr/share
mv "$pkgdir"/usr/lib/perl* "$subpkgdir"/usr/lib/
# mv "$pkgdir"/usr/share/perl* "$subpkgdir"/usr/share/
......
......@@ -55,7 +55,6 @@ package() {
}
pacemaker() {
arch="noarch"
depends="drbd"
mkdir -p "$subpkgdir"/usr/lib
mv "$pkgdir"/usr/lib/ocf "$subpkgdir"/usr/lib
......
......@@ -70,7 +70,6 @@ libs() {
}
netifnames() {
arch="noarch"
pkgdesc="udev rules for systemd-style interface names"
mkdir -p "$subpkgdir"/lib/udev/rules.d
mv "$pkgdir"/lib/udev/rules.d/80-net-name-slot.rules \
......
......@@ -200,7 +200,6 @@ mssql() {
depends="freeradius-sql=$pkgver-r$pkgrel"
provides="freeradius3-mssql=$pkgver-r$pkgrel"
pkgdesc="MSSQL module for FreeRADIUS server"
arch="noarch"
mkdir -p "${subpkgdir}"${radmodsconfdir}/sql/main
mv "${pkgdir}"${radmodsconfdir}/sql/main/mssql \
"${subpkgdir}"${radmodsconfdir}/sql/main || return 1
......
......@@ -183,7 +183,6 @@ sangoma() {
timezones() {
pkgdesc="Freeswitch timezone configuration"
arch="noarch"
install=
replaces="freeswitch-sample-config"
mkdir -p "$subpkgdir"/etc/freeswitch/autoload_configs
......@@ -218,7 +217,6 @@ perlesl() {
conf() {
pkgdesc="Freeswitch sample configureation"
arch="noarch"
depends="freeswitch-timezones"
install=
mkdir -p "$subpkgdir"/etc/freeswitch
......
......@@ -70,7 +70,6 @@ package() {
_perl_git_svn() {
pkgdesc="Perl interface to Git::SVN"
depends="git=$pkgver-r$pkgrel"
arch="noarch"
replaces="git-perl"
eval local `perl -V:vendorlib`
mkdir -p "$subpkgdir"/$vendorlib/Git
......@@ -80,7 +79,6 @@ _perl_git_svn() {
_perl_git() {
pkgdesc="Perl interface to Git"
depends="git=$pkgver-r$pkgrel perl-error"
arch="noarch"
replaces="git-perl"
eval local `perl -V:vendorlib`
eval local `perl -V:vendorarch`
......@@ -94,7 +92,6 @@ email() {
depends="perl perl-git=$pkgver-r$pkgrel perl-net-smtp-ssl
perl-authen-sasl"
pkgdesc="Git tools for sending email"
arch="noarch"
replaces="git"
mkdir -p "$subpkgdir"/$_gitcoredir
mv "$pkgdir"/$_gitcoredir/*email* "$subpkgdir"/$_gitcoredir
......@@ -104,7 +101,6 @@ svn() {
depends="perl perl-git-svn=$pkgver-r$pkgrel perl-subversion
perl-term-readkey"
pkgdesc="Subversion support for git"
arch="noarch"
replaces=""
mkdir -p "$subpkgdir"/$_gitcoredir
......@@ -114,7 +110,6 @@ svn() {
cvs() {
pkgdesc="Git tools for importing CVS repositories"
depends="perl perl-git=$pkgver-r$pkgrel cvs perl-dbd-sqlite"
arch="noarch"
replaces="git-perl"
mkdir -p "$subpkgdir"/usr/bin "$subpkgdir"/$_gitcoredir
mv "$pkgdir"/usr/bin/git-cvs* "$subpkgdir"/usr/bin/ || return 1
......@@ -125,7 +120,6 @@ cvs() {
p4() {
pkgdesc="Git tools for working with Perforce depots"
depends="git=$pkgver-r$pkgrel"
arch="noarch"
replaces="git"
mkdir -p "$subpkgdir"/$_gitcoredir/mergetools
mv "$pkgdir"/$_gitcoredir/*p4* "$subpkgdir"/$_gitcoredir/ || return 1
......@@ -146,7 +140,6 @@ daemon() {
gitweb() {
pkgdesc="Simple web interface to git repositories"
depends="git=$pkgver-r$pkgrel perl"
arch="noarch"
replaces="git"
mkdir -p "$subpkgdir"/usr/share
mv "$pkgdir"/usr/share/gitweb "$subpkgdir"/usr/share/
......@@ -155,7 +148,6 @@ gitweb() {
completion() {
pkgdesc="Bash completion for $pkgname"
depends=""
arch="noarch"
replaces=""
install_if="$pkgname=$pkgver-r$pkgrel bash-completion"
......@@ -166,7 +158,6 @@ completion() {
subtree() {
depends="git=$pkgver-r$pkgrel"
pkgdesc="Split git repository into subtrees"
arch="noarch"
replaces=""
cd "$_builddir"/contrib/subtree
......@@ -177,7 +168,6 @@ subtree() {
subtree_doc() {
depends=""
pkgdesc="Split git repository into subtrees (documentation)"
arch="noarch"
replaces=""
cd "$_builddir"/contrib/subtree
......@@ -188,7 +178,6 @@ subtree_doc() {
gui() {
depends="git=$pkgver-r$pkgrel tcl tk"
pkgdesc="GUI interface for git"
arch="noarch"
replaces=""
mkdir -p "$subpkgdir"/usr/share "$subpkgdir"/usr/libexec/git-core
......@@ -202,7 +191,6 @@ gui() {
gitk() {
depends="git=$pkgver-r$pkgrel tcl tk"
pkgdesc="Gitk interface for git"
arch="noarch"
replaces=""
mkdir -p "$subpkgdir"/usr/share "$subpkgdir"/usr/bin
......@@ -214,7 +202,6 @@ gitk() {
_git_perl() {
depends="git=$pkgver-r$pkgrel perl-git=$pkgver-r$pkgrel perl"
pkgdesc="Additional Git commands that requires perl"
arch="noarch"
replaces=""
mkdir -p "$subpkgdir"/usr/lib
......
......@@ -67,7 +67,6 @@ dev() {
bashcomp() {
pkgdesc="Bash completion for $pkgname"
arch="noarch"
depends=
install_if="$pkgname=$pkgver-r$pkgrel bash-completion"
mkdir -p "$subpkgdir"/usr/share
......
......@@ -40,7 +40,6 @@ package() {
bashcomp() {
pkgdesc="Bash completion for $pkgname"
arch="noarch"
depends=""
install_if="$pkgname=$pkgver-r$pkgrel bash-completion"
......@@ -50,7 +49,6 @@ bashcomp() {
zshcomp() {
pkgdesc="Zsh completion for $pkgname"
arch="noarch"
depends=""
install_if="$pkgname=$pkgver-r$pkgrel zsh"
......
......@@ -52,7 +52,6 @@ bashcomp() {
depends=""
pkgdesc="Bash completions for $pkgname"
install_if="$pkgname=$pkgver-r$pkgrel bash-completion"
arch="noarch"
mkdir -p "$subpkgdir"/usr/share/
mv "$pkgdir"/usr/share/bash-completion \
......
......@@ -96,7 +96,6 @@ vlock() {
misc() {
pkgdesc="Data for kbd package"
arch="noarch"
depends=
mkdir -p "$subpkgdir"${_datadir}
......
......@@ -71,7 +71,6 @@ libs() {
bashcomp() {
pkgdesc="Bash completion for $pkgname"
arch="noarch"
depends=""
install_if="bash-completion $pkgname=$pkgver-r$pkgrel"
......
......@@ -38,7 +38,6 @@ package() {
_package() {
local lver=${subpkgname:3:3}
pkgdesc="$pkgdesc - for Lua $lver"
arch="all"
depends="lua$lver"
install_if="lua$lver $pkgname=$pkgver-r$pkgrel"
......
......@@ -44,7 +44,6 @@ package() {
_subpackage() {
local lver="${subpkgname:3:3}"
pkgdesc="$pkgdesc (for Lua $lver)"
arch="all"
depends="lua$lver"
install_if="$pkgname=$pkgver-r$pkgrel lua$lver"
......
......@@ -5,7 +5,7 @@ pkgver=2.2.1
pkgrel=0
pkgdesc="Lua module for reading input events"
url="https://github.com/Tangent128/lua-evdev"
arch="noarch"
arch="all"
license="MIT"
depends=""
makedepends="linux-headers"
......@@ -41,7 +41,6 @@ package() {
_package() {
local lver="${subpkgname:3:3}"
pkgdesc="$pkgdesc (for Lua $lver)"
arch="all"
depends="$depends lua$lver"
install_if="$pkgname=$pkgver-r$pkgrel lua$lver"
......
......@@ -7,7 +7,7 @@ pkgver=1.2.3
pkgrel=0
pkgdesc="Lua binding to LDAP"
url="https://github.com/bdellegrazie/lualdap"
arch="noarch"
arch="all"
license="MIT"
depends=""
makedepends="openldap-dev"
......@@ -49,7 +49,6 @@ package() {
_package() {
local lver="${subpkgname:3:3}"
pkgdesc="$pkgdesc (for Lua $lver)"
arch="all"
depends="lua$lver"
install_if="$pkgname=$pkgver-r$pkgrel lua$lver"
[ "$lver" = "5.1" ] && replaces="$pkgname"
......
......@@ -7,7 +7,7 @@ pkgver=0.4.3
pkgrel=0
pkgdesc="Lua bindings to ZeroMQ"
url="https://github.com/zeromq/lzmq"
arch="noarch"
arch="all"
license="MIT"
depends=""
makedepends="cmake zeromq-dev"
......@@ -45,7 +45,6 @@ package() {
_package() {
local lver="${subpkgname:3:3}"
pkgdesc="$pkgdesc $lver"
arch="all"
install_if="lua$lver $pkgname=$pkgver-r$pkgrel"
cd "$builddir"/build/$lver
......
......@@ -4,7 +4,7 @@ pkgver=0.2
pkgrel=0
pkgdesc="Bindingd to libmosquitto for Lua"
url="https://github.com/flukso/lua-mosquitto"
arch="noarch"
arch="all"
license="MIT"
depends=""
makedepends="mosquitto-dev"
......@@ -40,7 +40,6 @@ package() {
_package() {
local lver="${subpkgname:3:3}"
pkgdesc="$pkgdesc $lver"
arch="all"
depends="lua$lver"
install_if="$pkgname=$pkgver-r$pkgrel lua$lver"
......
......@@ -9,7 +9,7 @@ _ver=${pkgver%_git*}
pkgrel=1
pkgdesc="A comprehensive OpenSSL Lua module"
url="http://25thandclement.com/~william/projects/luaossl.html"
arch="noarch"
arch="all"
license="MIT"
depends=""
makedepends="libressl-dev"
......@@ -38,7 +38,6 @@ package() {
_package() {
local lver="${subpkgname:3:3}"
pkgdesc="$pkgdesc for Lua $lver"
arch="all"
depends="lua$lver"
install_if="lua$lver $pkgname=$pkgver-r$pkgrel"
......
......@@ -6,7 +6,7 @@ _rockver=1
pkgrel=0
pkgdesc="Lua module to control other programs via PTYs."
url="http://www.tset.de/lpty/"
arch="noarch"
arch=""
license="MIT/X11"
depends=""
makedepends=""
......@@ -46,7 +46,6 @@ package() {
_subpackage() {
local lver="${subpkgname:3:3}"
pkgdesc="$pkgdesc (for Lua $lver)"
arch="all"
depends="lua$lver"
install_if="$pkgname=$pkgver-r$pkgrel lua$lver"
[ "$lver" = 5.1 ] && replaces="$pkgname"
......
......@@ -7,7 +7,7 @@ pkgver=1.1.2
pkgrel=0
pkgdesc="LibYaml binding for Lua"
url="http://yaml.luaforge.net"
arch="noarch"
arch="all"
license="MIT"
depends=""
makedepends="cmake yaml-dev"
......@@ -48,7 +48,6 @@ package() {
_subpackage() {
local lver="${subpkgname:3:3}"
pkgdesc="$pkgdesc $lver"
arch="all"
depends="$depends lua$lver lua$lver-lub"
install_if="$pkgname=$pkgver-r$pkgrel lua$lver"
[ "$lver" = 5.1 ] && replaces="$pkgname"
......
......@@ -71,7 +71,6 @@ package() {
lvm() {
pkgdesc="LVM support for LXC"
depends="lvm2 util-linux lxc"
arch="noarch"
mkdir "$subpkgdir"
}
......@@ -87,7 +86,6 @@ _lua52() {
_download() {
pkgdesc="LXC container image downloader template"
arch="noarch"
depends="$pkgname gnupg tar xz"
mkdir -p "$subpkgdir"/$_tmpldir
......@@ -96,7 +94,6 @@ _download() {
templates() {
pkgdesc="Templates for LXC (except alpine and download)"
arch="noarch"
depends="bash tar"
mkdir -p "$subpkgdir"/$_tmpldir
......
......@@ -41,7 +41,6 @@ package() {
example() {
pkgdesc="$pkgdesc (examples)"
arch="noarch"
# Put the example file into a seperate package
mkdir -p "$subpkgdir"/usr/share/doc/"$pkgname"/example || return 1
mv "$builddir"/mcabberrc.example \
......
......@@ -49,7 +49,6 @@ package() {
}
man() {
arch="noarch"
pkgdesc="dummy package for upgrade compatibility. this can safely be removed"
depends="mdocml"
mkdir -p "$subpkgdir"
......
......@@ -22,7 +22,7 @@ build() {
python2 setup.py build || return 1
}
package() {
package() {
cd "$_builddir"
python2 setup.py install --root="$pkgdir" || return 1
install -m755 contrib/hgk hgeditor "$pkgdir"/usr/bin || return 1
......@@ -37,7 +37,6 @@ vim() {
depends=""
pkgdesc="Vim syntax for $pkgname"
install_if="vim $pkgname=$pkgver-r$pkgrel"
arch="noarch"
cd "$_builddir"/contrib/vim/
mkdir -p "$subpkgdir"/usr/share/vim/vimfiles/syntax/
......@@ -49,7 +48,6 @@ zshcomp() {
depends=""
pkgdesc="Zsh completions for $pkgname"
install_if="$pkgname=$pkgver-r$pkgrel zsh"
arch="noarch"
install -Dm644 "$_builddir"/contrib/zsh_completion \
"$subpkgdir"/usr/share/zsh/site-functions/_${pkgname} || return 1
......@@ -59,7 +57,6 @@ bashcomp() {
depends=""
pkgdesc="Bash completions for $pkgname"
install_if="$pkgname=$pkgver-r$pkgrel bash-completion"
arch="noarch"
install -Dm644 "$_builddir"/contrib/bash_completion \
"$subpkgdir"/usr/share/bash-completion/completions/${pkgname} || return 1
......
......@@ -5,7 +5,7 @@ pkgver=1.2.6
pkgrel=1
pkgdesc="Mobile shell surviving disconnects with local echo and line editing"
url="http://mosh.mit.edu"
arch="noarch"
arch="all"
license="GPL3+"
depends="$pkgname-client $pkgname-server"
makedepends="ncurses-dev zlib-dev libressl-dev perl-dev perl-io-tty protobuf-dev
......@@ -35,7 +35,6 @@ package() {
}
server() {
arch="all"
replaces="mosh"
pkgdesc="Mosh server"
depends=
......@@ -45,7 +44,6 @@ server() {
}
client() {
arch="all"
replaces="mosh"
pkgdesc="Mosh client"
depends="openssh-client perl-io-tty"
......
......@@ -36,7 +36,6 @@ bashcomp() {
depends=""
pkgdesc="Bash completions for $pkgname"
install_if="$pkgname=$pkgver-r$pkgrel bash-completion"
arch="noarch"
mkdir -p "$subpkgdir"/usr/share/bash-completion/completions
mv "$pkgdir"/usr/share/doc/$pkgname/$pkgname-completion.bash \
......
......@@ -46,7 +46,6 @@ package() {
vim() {
depends=""
pkgdesc="Vim syntax for $pkgname"
arch="noarch"
install -Dm644 "$_builddir"/scripts/vim/$pkgname.vim \
"$subpkgdir"/usr/share/vim/vimfiles/syntax/$pkgname.vim
......
......@@ -110,15 +110,14 @@ _plugin() {
if file -bi "$destdir"/* | grep -qw text/x-perl; then
depends="$depends perl"
fi
if ! file -bi "$destdir"/* | grep -qw application/x-sharedlib; then
arch="noarch"
fi
# if ! file -bi "$destdir"/* | grep -qw application/x-sharedlib; then
# arch="noarch"
# fi
}
_all() {
pkgdesc="Metapackage that installs *all* Nagios plugins from the nagios-plugins package"
depends="${subpackages% all}"
arch="noarch"
mkdir -p "$subpkgdir"
......
......@@ -62,7 +62,6 @@ package() {
web() {
#depends="php lighttpd"
arch="noarch"
mkdir -p "$subpkgdir"/usr
mv "$pkgdir"/usr/share "$subpkgdir"/usr/
install -m644 -D "$srcdir"/lighttpd-nagios.conf "$subpkgdir"/etc/lighttpd/nagios.conf
......
......@@ -41,7 +41,6 @@ package() {
syntax() {
pkgdesc="Syntax highlighting definitions for $pkgname"
arch="noarch"
depends=""
mkdir -p "$subpkgdir"/usr/share/$pkgname/
......
......@@ -69,7 +69,6 @@ package() {
}
doc() {
arch="noarch"
pkgdesc="Nextcloud documentation"
depends="nextcloud"
mkdir -p "$subpkgdir"/usr/share/doc/nextcloud/core
......@@ -78,21 +77,18 @@ doc() {
}
pgsql() {
arch="noarch"
pkgdesc="Nextcloud PostgreSQL support"
depends="nextcloud ${_php}-pgsql ${_php}-pdo_pgsql ${_php}-pear-mdb2-driver-pgsql"
mkdir -p "$subpkgdir"${_ncwwwdir}
}
sqlite() {
arch="noarch"
pkgdesc="Nextcloud SQLite support"
depends="nextcloud ${_php}-sqlite3 ${_php}-pdo_sqlite"
mkdir -p "$subpkgdir"${_ncwwwdir}
}
mysql() {
arch="noarch"
pkgdesc="Nextcloud MySQL support"
depends="nextcloud ${_php}-mysql ${_php}-pdo_mysql ${_php}-pear-mdb2-driver-mysql"
mkdir -p "$subpkgdir"${_ncwwwdir}
......@@ -111,28 +107,24 @@ _mv_app() {
}
activity() {
arch="noarch"
pkgdesc="Nextcloud Activity app"
depends="$pkgname"
_mv_app pkg activity
}
firstrunwizard() {
arch="noarch"
pkgdesc="Nextcloud Firstrunwizard app"
depends="$pkgname"
_mv_app pkg firstrunwizard
}
gallery() {
arch="noarch"
pkgdesc="Nextcloud integrated gallery application"
depends="nextcloud"
_mv_app pkg gallery
}
notifications() {
arch="noarch"
pkgdesc="Nextcloud Email notification support"
depends="$pkgname"
_mv_app pkg notifications
......@@ -140,28 +132,24 @@ notifications() {
templateeditor() {
arch="noarch"
pkgdesc="Nextcloud Email template editor app"
depends="$pkgname"
_mv_app pkg templateeditor
}
pdfviewer() {
arch="noarch"
pkgdesc="Nextcloud integrated PDF viewer"
depends="nextcloud"
_mv_app pkg files_pdfviewer
}
texteditor() {
arch="noarch"
pkgdesc="Nextcloud integrated text editor"
depends="nextcloud"
_mv_app pkg files_texteditor
}
videoplayer() {
arch="noarch"
pkgdesc="Nextcloud integrated video viewer"
depends="nextcloud"
provides="$pkgname-videoviewer"
......
......@@ -209,7 +209,6 @@ package() {
vim() {
pkgdesc="$pkgdesc (vim syntax)"
depends=
arch="noarch"
mkdir -p "$subpkgdir"/usr/share/vim
cp -r "$builddir"/contrib/vim "$subpkgdir"/usr/share/vim/vimfiles
......
......@@ -46,7 +46,6 @@ package() {
scripts() {
depends="$pkgname-nselibs"
pkgdesc="$pkgdesc (scripts)"
arch="noarch"
mkdir -p "$subpkgdir"/usr/share/nmap/
mv "$pkgdir"/usr/share/nmap/scripts \
......@@ -55,7 +54,6 @@ scripts() {
nselibs() {
pkgdesc="$pkgdesc (nselibs)"
arch="noarch"
mkdir -p "$subpkgdir"/usr/share/nmap/
mv "$pkgdir"/usr/share/nmap/nse_main.lua \
......
......@@ -39,7 +39,6 @@ build() {
monitor() {
depends="openvswitch py-twisted py-twisted-web2 py-qt"
arch="noarch"
mkdir -p "$subpkgdir"/usr/share/openvswitch
mv "$pkgdir"/usr/share/openvswitch/python \
"$subpkgdir"/usr/share/openvswitch/python
......@@ -75,7 +74,6 @@ bashcomp() {
depends=""
pkgdesc="Bash completions for $pkgname"
install_if="$pkgname=$pkgver-r$pkgrel bash-completion"
arch="noarch"
mkdir -p "$subpkgdir"/usr/share/bash-completion/completions/$pkgname
mv "$builddir"/utilities/*-bashcomp.bash \
......
......@@ -68,8 +68,6 @@ package() {
}
doc() {
arch="noarch"
mkdir -p "$subpkgdir"/usr/share/doc/$pkgname/html || return 1
mkdir -p "$subpkgdir"/usr/share/doc/$pkgname/txt || return 1
mkdir -p "$subpkgdir"/usr/share/$pkgname/contrib || return 1
......
......@@ -24,10 +24,10 @@ source=""
build() { return 0; }
package() { _pear_install $_pkgname-$pkgver "$pkgdir" || return 1; }