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

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"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment