diff options
Diffstat (limited to 'main/git')
-rw-r--r-- | main/git/APKBUILD | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/main/git/APKBUILD b/main/git/APKBUILD index 612ab05709..8280137b02 100644 --- a/main/git/APKBUILD +++ b/main/git/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=git pkgver=1.9.2 -pkgrel=0 +pkgrel=1 pkgdesc="A distributed version control system" url="http://git.or.cz/" arch="all" @@ -20,6 +20,8 @@ subpackages="$pkgname-doc $pkgname-p4 $pkgname-daemon $pkgname-gitweb + $pkgname-subtree + $pkgname-subtree-doc:subtree_doc $pkgname-perl:_git_perl " @@ -159,6 +161,27 @@ completion() { "$subpkgdir"/usr/share/bash-completion/completions/git } +subtree() { + depends="git=$pkgver-r$pkgrel" + pkgdesc="Split git repository into subtrees" + arch="noarch" + replaces="" + + cd "$srcdir"/$pkgname-$pkgver/contrib/subtree + make prefix=/usr DESTDIR="$pkgdir" || return 1 + make install prefix=/usr DESTDIR="$subpkgdir" +} + +subtree_doc() { + depends="" + pkgdesc="Split git repository into subtrees (documentation)" + arch="noarch" + replaces="" + + cd "$srcdir"/$pkgname-$pkgver/contrib/subtree + make install-man prefix=/usr DESTDIR="$subpkgdir" +} + # catch-the-rest of stuff that needs perl _git_perl() { depends="git=$pkgver-r$pkgrel perl" |