Commit a2e061d5 authored by Timo Teräs's avatar Timo Teräs
Browse files

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

parent 84640d4e
......@@ -73,7 +73,6 @@ package() {
ilp64() {
pkgdesc="$pkgdesc (ILP64)"
arch="x86_64"
mkdir -p "$subpkgdir"/usr/lib
mv "$pkgdir"/usr/lib/libarpack64_* "$subpkgdir"/usr/lib/
......
......@@ -30,7 +30,7 @@ package() {
apache2() {
pkgdesc="Apache configuration files for $pkgname"
depends="apache2 php5-apache2"
arch="noarch"
mkdir -p "$subpkgdir"/etc/
mv "$pkgdir"/etc/apache2 "$subpkgdir"/etc/apache2
}
......
......@@ -12,7 +12,7 @@ depends_dev=""
makedepends="$depends_dev lmdb-dev libressl-dev bison flex-dev
acl-dev pcre-dev linux-headers"
install=""
subpackages="$pkgname-doc $pkgname-masterfiles"
subpackages="$pkgname-doc $pkgname-masterfiles::noarch"
source="https://cfengine-package-repos.s3.amazonaws.com/tarballs/$pkgname-$pkgver.tar.gz
https://cfengine-package-repos.s3.amazonaws.com/tarballs/$pkgname-masterfiles-$pkgver.tar.gz"
......@@ -56,8 +56,8 @@ package() {
masterfiles() {
pkgdesc="Cfengine default masterfiles"
arch="noarch"
depends="cfengine"
cd "$_builddirmasterfiles"
./configure \
--prefix=/var/lib/cfengine \
......
......@@ -11,7 +11,7 @@ depends="gcc libc-dev $pkgname-dev $pkgname-libs"
depends_dev=""
makedepends="$depends_dev"
install=""
subpackages="$pkgname-doc $pkgname-libs $pkgname-dev $pkgname-feathers"
subpackages="$pkgname-doc $pkgname-libs $pkgname-dev $pkgname-feathers::noarch"
source="http://code.call-cc.org/releases/$pkgver/$pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$pkgname-$pkgver
......@@ -40,7 +40,6 @@ package() {
feathers() {
pkgdesc="A debugger for compiled chicken programs"
depends="tk"
arch="noarch"
mkdir -p "$subpkgdir"/usr/bin/ \
"$subpkgdir"/usr/share/chicken/
......
......@@ -15,8 +15,8 @@ makedepends="alsa-lib-dev faad2-dev flac-dev libmad-dev opusfile-dev
install=""
subpackages="
$pkgname-doc
$pkgname-zsh-completion:zshcomp
$pkgname-bash-completion:bashcomp"
$pkgname-zsh-completion:zshcomp:noarch
$pkgname-bash-completion:bashcomp:noarch"
source="$pkgname-$pkgver.tar.gz::https://github.com/cmus/cmus/archive/v${pkgver}.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver
......@@ -39,7 +39,6 @@ bashcomp() {
depends=""
pkgdesc="Bash completions for $pkgname"
install_if="$pkgname=$pkgver-r$pkgrel bash-completion"
arch="noarch"
install -Dm644 "$_builddir"/contrib/$pkgname.bash-completion \
"$subpkgdir"/usr/share/bash-completion/completions/$pkgname
......@@ -49,7 +48,6 @@ zshcomp() {
depends=""
pkgdesc="Zsh completions for $pkgname"
install_if="$pkgname=$pkgver-r$pkgrel zsh"
arch="noarch"
install -Dm644 "$_builddir"/contrib/_$pkgname \
"$subpkgdir"/usr/share/zsh/site-functions/_$pkgname
......
......@@ -13,7 +13,7 @@ makedepends="$depends_dev libsodium-dev"
install="$pkgname.pre-install"
pkgusers=dnscrypt
pkggroups=dnscrypt
subpackages="$pkgname-doc $pkgname-setup"
subpackages="$pkgname-doc $pkgname-setup::noarch"
source="http://download.dnscrypt.org/$pkgname/$pkgname-$pkgver.tar.bz2
$pkgname.initd
$pkgname.confd
......@@ -48,9 +48,9 @@ package() {
}
setup() {
arch="noarch"
pkgdesc="Script for setting up DNSCrypt Proxy"
depends="sed wget $pkgname"
mkdir -p "$subpkgdir"/sbin
install -m755 -D "$srcdir"/$pkgname.setup "$subpkgdir"/sbin/setup-dnscrypt
}
......
......@@ -21,9 +21,9 @@ _runc_ver=cc29e3dded8e27ba8f65738f40d251c885030a28
_containerd_ver=0ac3cd1be170d180b2baed755e8f0da547ceb267
subpackages="
$pkgname-bash-completion:bashcomp
$pkgname-zsh-completion:zshcomp
$pkgname-vim:vim
$pkgname-bash-completion:bashcomp:noarch
$pkgname-zsh-completion:zshcomp:noarch
$pkgname-vim:vim:noarch
"
source="
$pkgname-$pkgver.tar.gz::https://github.com/docker/docker/archive/v$_ver.tar.gz
......@@ -119,7 +119,6 @@ package() {
bashcomp() {
pkgdesc="Bash completion for Docker"
arch="noarch"
depends=""
install_if="$pkgname=$pkgver-r$pkgrel bash-completion"
......@@ -129,7 +128,6 @@ bashcomp() {
zshcomp() {
pkgdesc="Zsh completion for $pkgname"
arch="noarch"
depends=""
install_if="$pkgname=$pkgver-r$pkgrel zsh"
......@@ -140,7 +138,6 @@ zshcomp() {
vim() {
depends=""
pkgdesc="Vim syntax for Docker"
arch="noarch"
local f=
for f in ftdetect/dockerfile.vim syntax/dockerfile.vim; do
......
......@@ -10,7 +10,7 @@ license="GPL2"
depends="bash"
makedepends="linux-headers"
options="suid"
subpackages="$pkgname-doc $pkgname-bash-completion:bashcomp"
subpackages="$pkgname-doc $pkgname-bash-completion:bashcomp:noarch"
source="$pkgname-$pkgver.tar.gz::https://github.com/netblue30/$pkgname/archive/$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
......@@ -37,7 +37,6 @@ build() {
bashcomp() {
pkgdesc="Bash completions for $pkgname"
arch="noarch"
depends="bash"
install_if="$pkgname=$pkgver-r$pkgrel bash"
......
......@@ -14,8 +14,8 @@ install=""
options="!strip"
subpackages="
$pkgname-doc
$pkgname-bash-completion:bashcomp
$pkgname-zsh-completion:zshcomp"
$pkgname-bash-completion:bashcomp:noarch
$pkgname-zsh-completion:zshcomp:noarch"
source="$pkgname-$pkgver.tar.gz::https://github.com/github/hub/archive/v$pkgver.tar.gz"
_builddir="$srcdir/$pkgname-$pkgver"
......@@ -36,7 +36,6 @@ bashcomp() {
depends=""
pkgdesc="Bash completions for $pkgname"
install_if="$pkgname=$pkgver-r$pkgrel bash-completion"
arch="noarch"
install -Dm644 "$_builddir"/etc/hub.bash_completion.sh \
"$subpkgdir"/usr/share/bash-completion/completions/$pkgname || return 1
......@@ -46,7 +45,6 @@ zshcomp() {
depends=""
pkgdesc="Zsh completions for $pkgname"
install_if="$pkgname=$pkgver-r$pkgrel zsh"
arch="noarch"
install -Dm644 "$_builddir"/etc/$pkgname.zsh_completion \
"$subpkgdir"/usr/share/zsh/site-functions/_$pkgname || return 1
......
......@@ -13,7 +13,7 @@ makedepends="$depends_dev cmake bison flex boost-dev yajl-dev
install="$pkgname.pre-install $pkgname.post-install"
pkgusers="icinga"
pkggroups="icinga"
subpackages="$pkgname-doc $pkgname-bash-completion:bashcomp"
subpackages="$pkgname-doc $pkgname-bash-completion:bashcomp:noarch"
source="$pkgname-$pkgver.tar.gz::https://github.com/Icinga/$pkgname/archive/v$pkgver.tar.gz
$pkgname.initd"
......@@ -99,7 +99,7 @@ EOF
bashcomp() {
depends="bash"
pkgdesc="Bash completions for $pkgname"
arch="noarch"
mkdir -p "$subpkgdir"/usr/share/bash-completion/completions
mv "$pkgdir"/etc/bash_completion.d/$pkgname "$subpkgdir"/usr/share/bash-completion/completions/$pkgname
}
......
......@@ -16,7 +16,7 @@ depends_dev=""
makedepends="$depends_dev"
pkggroups="icingaweb2"
install="$pkgname.pre-install $pkgname.post-install"
subpackages="$pkgname-doc $pkgname-bash-completion:bashcomp"
subpackages="$pkgname-doc $pkgname-bash-completion:bashcomp:noarch"
source="$pkgname-$pkgver.tar.gz::https://github.com/Icinga/${pkgname}/archive/v${pkgver}.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver
......@@ -69,7 +69,7 @@ EOF
bashcomp() {
depends="bash"
pkgdesc="Bash completions for $pkgname"
arch="noarch"
cd "$_builddir"
mkdir -p "$subpkgdir"/usr/share/bash-completion/completions
mv etc/bash_completion.d/icingacli "$subpkgdir"/usr/share/bash-completion/completions/icingacli
......
......@@ -7,7 +7,7 @@ _libver=${pkgver%.*}
pkgrel=1
pkgdesc="Java Foreign Function Interface"
url="https://github.com/jnr/jffi"
arch="noarch"
arch="all"
license="ASL-2.0"
depends="openjdk8-jre-base"
makedepends="apache-ant file openjdk8"
......@@ -29,8 +29,6 @@ package() {
}
native() {
arch="all"
# Note: jffi expects file named libjffi-x.y.so, not libjffi.so.x.y.
install -m755 -D "$builddir"/build/jni/libjffi-$_libver.so \
"$subpkgdir"/usr/lib/libjffi-$_libver.so
......
......@@ -6,7 +6,7 @@ pkgver=1.3.0
pkgrel=2
pkgdesc="LZ4 compression for Java"
url="https://github.com/jpountz/lz4-java"
arch="noarch"
arch="all"
license="ASL-2.0"
depends="openjdk8-jre-base"
makedepends="apache-ant openjdk8"
......@@ -34,7 +34,6 @@ package() {
}
native() {
arch="all"
local soname="liblz4-java.so"
install -m755 -D "$builddir"/build/jni/*/*/$soname \
......
......@@ -43,7 +43,6 @@ build() {
}
package() {
arch="noarch"
depends="$depends $pkgname-native"
install -m644 -D "$builddir"/target/$_pkgname-*.jar \
......
......@@ -19,8 +19,8 @@ pkgusers="knot"
pkggroups="knot"
subpackages="$pkgname-libs
$pkgname-utils
$pkgname-bash-completion:bashcomp
$pkgname-zsh-completion:zshcomp
$pkgname-bash-completion:bashcomp:noarch
$pkgname-zsh-completion:zshcomp:noarch
$pkgname-dev
$pkgname-doc
"
......@@ -89,7 +89,6 @@ utils() {
bashcomp() {
pkgdesc="Bash completions for knot"
arch="noarch"
depends="bash"
install_if="$pkgname=$pkgver-r$pkgrel bash"
......@@ -99,7 +98,6 @@ bashcomp() {
zshcomp() {
pkgdesc="ZSH completions for knot"
arch="noarch"
depends="zsh"
install_if="$pkgname=$pkgver-r$pkgrel zsh"
......
......@@ -7,7 +7,7 @@ pkgver=0.3
pkgrel=0
pkgdesc="Compatibility module providing Lua-5.3-style APIs for Lua"
url="https://github.com/keplerproject/lua-compat-5.3"
arch="noarch"
arch="all"
license="MIT"
depends=""
makedepends=""
......@@ -41,7 +41,6 @@ package() {
_package() {
local lver="${subpkgname:3:3}"
pkgdesc="$pkgdesc $lver"
arch="all"
depends="lua$lver"
install_if="$pkgname=$pkgver-r$pkgrel lua$lver"
......
......@@ -6,7 +6,7 @@ pkgver=1.0.0
pkgrel=0
pkgdesc="Pattern-matching library for Lua"
url="http://www.inf.puc-rio.br/~roberto/lpeg"
arch="noarch"
arch="all"
license="MIT"
depends=""
makedepends=""
......@@ -48,7 +48,6 @@ package() {
_package() {
local lver="${subpkgname:3:3}"
pkgdesc="Pattern-matching library for Lua $lver"
arch="all"
depends="lua$lver"
install_if="lua$lver $pkgname=$pkgver-r$pkgrel"
......
......@@ -7,7 +7,7 @@ pkgver=20150923
pkgrel=0
pkgdesc="Comprehensive Unix API Module for Lua"
url="https://github.com/wahern/lunix"
arch="noarch"
arch="all"
license="MIT"
depends=""
makedepends=""
......@@ -36,7 +36,6 @@ package() {
_package() {
local lver="${subpkgname:3:3}"
pkgdesc="$pkgdesc $lver"
arch="all"
install_if="lua$lver $pkgname=$pkgver-r$pkgrel"
cd "$builddir"
......
......@@ -18,7 +18,7 @@ source="$pkgname-$pkgver.tar.gz::https://codeload.github.com/minetest/${pkgname}
minetest-server.confd
minetest-server.initd
"
subpackages="$pkgname-doc $pkgname-common $pkgname-server"
subpackages="$pkgname-doc $pkgname-common::noarch $pkgname-server"
_builddir="${srcdir}"/${pkgname}-${pkgver}
......@@ -64,7 +64,6 @@ build() {
}
common() {
arch="noarch"
install -o minetest -g minetest -d "$subpkgdir"/var/lib/minetest \
|| return 1
mkdir -p "${subpkgdir}/usr/share/minetest"
......
......@@ -18,7 +18,7 @@ makedepends="libxxf86dga-dev libxv-dev libmad-dev lame-dev libao-dev
subpackages="
$pkgname-doc
$pkgname-libs
$pkgname-zsh-completion:zshcomp"
$pkgname-zsh-completion:zshcomp:noarch"
source="$pkgname-$pkgver.tar.gz::https://github.com/mpv-player/$pkgname/archive/v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
......@@ -63,7 +63,6 @@ zshcomp() {
depends=""
pkgdesc="Zsh completions for $pkgname"
install_if="$pkgname=$pkgver-r$pkgrel zsh"
arch="noarch"
mkdir -p "$subpkgdir/usr/share/zsh/site-functions"
mv "$pkgdir/usr/share/zsh/site-functions"/* \
......
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