summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/git/APKBUILD15
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