diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2016-03-13 20:46:47 +0100 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2016-03-13 20:48:41 +0100 |
commit | 11dd11533410b991f8b93a0c759359856ab8ab5b (patch) | |
tree | 514c3b478a61e0f378998ae0ebec33a178fa6072 /main/git | |
parent | 483d1092a3d98563739e1ddd754c755e96c9847b (diff) | |
download | aports-11dd11533410b991f8b93a0c759359856ab8ab5b.tar.bz2 aports-11dd11533410b991f8b93a0c759359856ab8ab5b.tar.xz |
main/git: upgrade to 2.7.3
Diffstat (limited to 'main/git')
-rw-r--r-- | main/git/APKBUILD | 28 |
1 files changed, 10 insertions, 18 deletions
diff --git a/main/git/APKBUILD b/main/git/APKBUILD index 77be48445b..fa11d34dab 100644 --- a/main/git/APKBUILD +++ b/main/git/APKBUILD @@ -1,7 +1,7 @@ # Contributor: Łukasz Jendrysik <scadu@yandex.com> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=git -pkgver=2.7.2 +pkgver=2.7.3 pkgrel=0 pkgdesc="A distributed version control system" url="https://www.git-scm.com/" @@ -43,23 +43,15 @@ _makeopts=" USE_LIBPCRE=1" _gitcoredir=/usr/libexec/git-core - -prepare() { - cd "$srcdir"/$pkgname-$pkgver - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} +_builddir="$srcdir"/$pkgname-$pkgver build() { - cd "$srcdir"/$pkgname-$pkgver + cd "$_builddir" make prefix=/usr DESTDIR="$pkgdir" $_makeopts || return 1 } package() { - cd "$srcdir"/$pkgname-$pkgver + cd "$_builddir" make prefix=/usr \ DESTDIR="$pkgdir" \ INSTALLDIRS=vendor \ @@ -166,7 +158,7 @@ completion() { replaces="" install_if="$pkgname=$pkgver-r$pkgrel bash-completion" - install -Dm644 "$srcdir"/git-$pkgver/contrib/completion/git-completion.bash \ + install -Dm644 "$_builddir"/contrib/completion/git-completion.bash \ "$subpkgdir"/usr/share/bash-completion/completions/git } @@ -176,7 +168,7 @@ subtree() { arch="noarch" replaces="" - cd "$srcdir"/$pkgname-$pkgver/contrib/subtree + cd "$_builddir"/contrib/subtree make prefix=/usr DESTDIR="$pkgdir" || return 1 make install prefix=/usr DESTDIR="$subpkgdir" } @@ -187,7 +179,7 @@ subtree_doc() { arch="noarch" replaces="" - cd "$srcdir"/$pkgname-$pkgver/contrib/subtree + cd "$_builddir"/contrib/subtree make install-man prefix=/usr DESTDIR="$subpkgdir" || return 1 gzip -9 "$subpkgdir"/usr/share/man/man1/git-subtree.1 } @@ -235,15 +227,15 @@ _git_perl() { } -md5sums="b14189d9d9ea32274e51c7a4240ffc15 git-2.7.2.tar.xz +md5sums="bb01710b1b24789a53c800a90c73957f git-2.7.3.tar.xz 0549894076c2081d886fa5ee44c20e23 bb-tar.patch 75b9d8f33fbec38a8e0e06baf5165b19 git-daemon.initd 2258e95d389ccc6de0b5111d53d9eed6 git-daemon.confd" -sha256sums="b20479ce523031c37581b763b4442b25b9d606f2f416049aea4e463dc150cf20 git-2.7.2.tar.xz +sha256sums="89c467912d4740da2b40288f956251f0a1e276e28eecd28a6d776067103629b6 git-2.7.3.tar.xz 968e996a306dab643970c5ce1ac40926146b01b9c38a8fe81c74340a0302dbc7 bb-tar.patch 7918837f77b4cebce70b600b2f6da00e4c0df6b946f4ff5671c797c37b2ffc4f git-daemon.initd aaa80bd059db549dadf4c4e27a9aa41a4b5def844f8e563c493bc8513dcd981e git-daemon.confd" -sha512sums="fa139b10d134742efa74707ca77111463656000fd3fae52752eb5af1e56b57d9a2a6d21e6c23085af8db830b811387435fe95c1310b28ef280630e99e432fc79 git-2.7.2.tar.xz +sha512sums="f7acbf52d12f39d323bd90a82c7135aa2aacf2661f7087c71b41dbfbec688342e0a2fc061fc0f216848a538a0dbc4fce68e24ea2a26e747f5eb92f763fa5bc72 git-2.7.3.tar.xz 85767b5e03137008d6a96199e769e3979f75d83603ac8cb13a3481a915005637409a4fd94e0720da2ec6cd1124f35eba7cf20109a94816c4b4898a81fbc46bd2 bb-tar.patch 1e707250d133d56100f0311e7c2610920d6d81809c425ebf3e6acb4a289b958707a90dc38e1c17720da6dc2758dd84bf957fe6aed3854eacea79226eb616e885 git-daemon.initd 9640f8078d68ed2678e5249da3f946fc21f50e858b94127a4221de73c6132101afcd46bc1fe33861e9a7f731c0dc9591915b8ebf376b8e690cd7135703966509 git-daemon.confd" |