aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndré Klitzing <aklitzing@gmail.com>2017-08-11 10:34:04 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2017-08-11 11:03:46 +0000
commite781fa0b60de1b6ded63a4a3de3484cc1222aae4 (patch)
treeecdd304c10dfec73263bbf7c7fbeef2d06c99bf0
parent13ee88b017ecd8c894a60178235598a526d5e4a6 (diff)
downloadaports-e781fa0b60de1b6ded63a4a3de3484cc1222aae4.tar.bz2
main/mercurial: upgrade to 4.3.1 and modernize abuild
-rw-r--r--main/mercurial/APKBUILD18
1 files changed, 9 insertions, 9 deletions
diff --git a/main/mercurial/APKBUILD b/main/mercurial/APKBUILD
index 8cb16d5..cdb24a9 100644
--- a/main/mercurial/APKBUILD
+++ b/main/mercurial/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mercurial
-pkgver=4.2.2
+pkgver=4.3.1
pkgrel=0
pkgdesc="A scalable distributed SCM tool"
url="https://www.mercurial-scm.org/"
@@ -19,17 +19,17 @@ builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$builddir"
- python2 setup.py build || return 1
+ python2 setup.py build
}
package() {
cd "$builddir"
- python2 setup.py install --root="$pkgdir" || return 1
- install -m755 contrib/hgk hgeditor "$pkgdir"/usr/bin || return 1
+ python2 setup.py install --root="$pkgdir"
+ install -m755 contrib/hgk hgeditor "$pkgdir"/usr/bin
for man in doc/*.?; do
install -Dm644 "$man" \
- "$pkgdir"/usr/share/man/man${man##*.}/${man##*/} || return 1
+ "$pkgdir"/usr/share/man/man${man##*.}/${man##*/}
done
}
@@ -41,7 +41,7 @@ vim() {
cd "$builddir"/contrib/vim/
mkdir -p "$subpkgdir"/usr/share/vim/vimfiles/syntax/
install -Dm644 HGAnnotate.vim hgtest.vim \
- "$subpkgdir"/usr/share/vim/vimfiles/syntax/ || return 1
+ "$subpkgdir"/usr/share/vim/vimfiles/syntax/
}
zshcomp() {
@@ -50,7 +50,7 @@ zshcomp() {
install_if="$pkgname=$pkgver-r$pkgrel zsh"
install -Dm644 "$builddir"/contrib/zsh_completion \
- "$subpkgdir"/usr/share/zsh/site-functions/_${pkgname} || return 1
+ "$subpkgdir"/usr/share/zsh/site-functions/_${pkgname}
}
bashcomp() {
@@ -59,7 +59,7 @@ bashcomp() {
install_if="$pkgname=$pkgver-r$pkgrel bash-completion"
install -Dm644 "$builddir"/contrib/bash_completion \
- "$subpkgdir"/usr/share/bash-completion/completions/${pkgname} || return 1
+ "$subpkgdir"/usr/share/bash-completion/completions/${pkgname}
}
-sha512sums="16324fec97146d749fe6bdb4c35466f6f1786213451015a34d34f8a0d042870d7fc29b6fd74d720191d24e84e57b3d931bb58594bcd7a89399bfbb427e7af994 mercurial-4.2.2.tar.gz"
+sha512sums="4c42d06b7f111a3e825dd927704a30f88f0b2225cf87ab8954bf53a7fbc0edf561374dd49b13d9c10140d98ff5853a64acb5a744349727abae81d32da401922b mercurial-4.3.1.tar.gz"