diff options
author | Andrew Hills <ahills@ednos.net> | 2015-05-29 14:04:22 -0400 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-06-09 12:09:47 +0000 |
commit | 382c368436da473b43a83626dbf45b279ba82da9 (patch) | |
tree | c6de6f2c4621189ce9e00688c0031fd3d9f9815b /main/git/APKBUILD | |
parent | 81a0bd39db0d023a8908ff738f93498c7558b490 (diff) | |
download | aports-382c368436da473b43a83626dbf45b279ba82da9.tar.bz2 aports-382c368436da473b43a83626dbf45b279ba82da9.tar.xz |
main/git: minor cleanup (spacing, noarch for subpackages)
Diffstat (limited to 'main/git/APKBUILD')
-rw-r--r-- | main/git/APKBUILD | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/main/git/APKBUILD b/main/git/APKBUILD index 59d6cc51b4..5ab057b6b8 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/ |