mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 12:26:52 +02:00
main/git: bash-completion subpackage
This commit is contained in:
parent
a8d3f77003
commit
d677f1d5e4
@ -1,14 +1,14 @@
|
||||
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
||||
pkgname=git
|
||||
pkgver=1.8.4.3
|
||||
pkgrel=0
|
||||
pkgrel=1
|
||||
pkgdesc="A distributed version control system"
|
||||
url="http://git.or.cz/"
|
||||
arch="all"
|
||||
license="GPL2+"
|
||||
depends=
|
||||
replaces="git-perl"
|
||||
subpackages="$pkgname-doc $pkgname-svn $pkgname-perl"
|
||||
subpackages="$pkgname-doc $pkgname-svn $pkgname-perl $pkgname-bash-completion:completion"
|
||||
makedepends="zlib-dev openssl-dev curl-dev expat-dev perl-dev python-dev
|
||||
pcre-dev"
|
||||
source="http://git-core.googlecode.com/files/git-$pkgver.tar.gz
|
||||
@ -75,6 +75,16 @@ svn() {
|
||||
mv "$pkgdir"/usr/libexec/git-core/git-svn "$subpkgdir"/usr/libexec/git-core
|
||||
}
|
||||
|
||||
completion() {
|
||||
depends=""
|
||||
pkgdesc="Bash completion script for git"
|
||||
arch="noarch"
|
||||
replaces=""
|
||||
|
||||
install -Dm644 "$srcdir"/git-$pkgver/contrib/completion/git-completion.bash \
|
||||
"$subpkgdir"/usr/share/bash-completion/completions/git
|
||||
}
|
||||
|
||||
md5sums="ec3f9007cc1542e8d94ccff1cf8882f5 git-1.8.4.3.tar.gz
|
||||
178d2d10f9740fac4a8af0155368b3d9 0001-config-add-_cb-suffix-to-callback-functions.patch
|
||||
e63a201556c4f089de790805c09a2e5b bb-tar.patch
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user