Mail archive
alpine-aports

[alpine-aports] [PATCH 1/2] main/git: minor cleanup (spacing, noarch for subpackages)

From: Andrew Hills <ahills_at_ednos.net>
Date: Fri, 29 May 2015 14:04:22 -0400

---
 main/git/APKBUILD | 20 +++++++++++++-------
 1 file changed, 13 insertions(+), 7 deletions(-)
diff --git a/main/git/APKBUILD b/main/git/APKBUILD
index 59d6cc5..5ab057b 100644
--- a/main/git/APKBUILD
+++ b/main/git/APKBUILD
_at_@ -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
_at_@ -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`
_at_@ -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
_at_@ -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
_at_@ -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
_at_@ -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
_at_@ -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/
-- 
2.4.2
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Fri May 29 2015 - 14:04:22 GMT