diff options
author | Timo Teräs <timo.teras@iki.fi> | 2012-01-28 13:14:45 +0200 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2012-01-28 13:14:45 +0200 |
commit | fd0aa54b6e8ab26f534c1168e241b5690c3a5dc4 (patch) | |
tree | 94b4f75c0bdef243deeb153d725ae9497310a57c /main/git | |
parent | 7e6f6528e8d868853eae2b67183714dfcdc3465c (diff) | |
download | aports-fd0aa54b6e8ab26f534c1168e241b5690c3a5dc4.tar.bz2 aports-fd0aa54b6e8ab26f534c1168e241b5690c3a5dc4.tar.xz |
main/git: split git-svn to it's own subpackage
* and make it depend on perl-subversion which is needed
* use versioned dependency instead of replaces to get upgrade
right
Diffstat (limited to 'main/git')
-rw-r--r-- | main/git/APKBUILD | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/main/git/APKBUILD b/main/git/APKBUILD index 32140e7fa..cfe40b25e 100644 --- a/main/git/APKBUILD +++ b/main/git/APKBUILD @@ -1,14 +1,14 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=git pkgver=1.7.8.4 -pkgrel=0 +pkgrel=1 pkgdesc="GIT - the stupid content tracker" url="http://git.or.cz/" arch="all" license="GPL2" depends= replaces="git-perl" -subpackages="$pkgname-doc $pkgname-perl" +subpackages="$pkgname-doc $pkgname-svn $pkgname-perl" makedepends="zlib-dev openssl-dev curl-dev expat-dev perl-dev python-dev" source="http://git-core.googlecode.com/files/git-$pkgver.tar.gz bb-tar.patch @@ -41,6 +41,8 @@ perl() { depends="perl git perl-net-smtp-ssl perl-authen-sasl" pkgdesc="Perl scripts for git" arch="noarch" + replaces="" + mkdir -p "$subpkgdir"/usr/lib mv "$pkgdir"/usr/lib/perl* "$subpkgdir"/usr/lib/ cd "$pkgdir" @@ -51,6 +53,15 @@ perl() { find "$subpkgdir" -name perllocal.pod -delete } +svn() { + depends="perl git git-perl>=1.7.8.4-r1 perl-subversion" + pkgdesc="Subversion support for git" + arch="noarch" + replaces="" + + mkdir -p "$subpkgdir"/usr/libexec/git-core + mv "$pkgdir"/usr/libexec/git-core/git-svn "$subpkgdir"/usr/libexec/git-core +} md5sums="e6c3319d76d52a830af395046fc56143 git-1.7.8.4.tar.gz e63a201556c4f089de790805c09a2e5b bb-tar.patch |