summaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorAndrew Hills <ahills@ednos.net>2015-05-29 14:04:22 -0400
committerNatanael Copa <ncopa@alpinelinux.org>2015-06-09 12:09:47 +0000
commit382c368436da473b43a83626dbf45b279ba82da9 (patch)
treec6de6f2c4621189ce9e00688c0031fd3d9f9815b /main
parent81a0bd39db0d023a8908ff738f93498c7558b490 (diff)
downloadaports-382c368436da473b43a83626dbf45b279ba82da9.tar.bz2
aports-382c368436da473b43a83626dbf45b279ba82da9.tar.xz
main/git: minor cleanup (spacing, noarch for subpackages)
Diffstat (limited to 'main')
-rw-r--r--main/git/APKBUILD20
1 files changed, 13 insertions, 7 deletions
diff --git a/main/git/APKBUILD b/main/git/APKBUILD
index 59d6cc51b..5ab057b6b 100644
--- a/main/git/APKBUILD
+++ b/main/git/APKBUILD
@@ -75,6 +75,7 @@ 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
@@ -84,6 +85,7 @@ _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`
@@ -97,6 +99,7 @@ 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,19 +107,20 @@ email() {
svn() {
- depends="perl perl-git-svn=$pkgver-r$pkgrel perl-subversion
+ depends="perl perl-git-svn=$pkgver-r$pkgrel perl-subversion
perl-term-readkey"
- pkgdesc="Subversion support for git"
- arch="noarch"
- replaces=""
+ pkgdesc="Subversion support for git"
+ arch="noarch"
+ replaces=""
- mkdir -p "$subpkgdir"/$_gitcoredir
- mv "$pkgdir"/$_gitcoredir/git-svn "$subpkgdir"/$_gitcoredir/
+ mkdir -p "$subpkgdir"/$_gitcoredir
+ mv "$pkgdir"/$_gitcoredir/git-svn "$subpkgdir"/$_gitcoredir/
}
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
@@ -127,6 +131,7 @@ 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
@@ -137,7 +142,7 @@ p4() {
daemon() {
pkgdesc="Git protocol daemon"
depends="git=$pkgver-r$pkgrel"
- replaces="git"
+ replaces="git"
mkdir -p "$subpkgdir"/$_gitcoredir
mv "$pkgdir"/$_gitcoredir/git-daemon "$subpkgdir"/$_gitcoredir \
|| return 1
@@ -147,6 +152,7 @@ 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/