summaryrefslogtreecommitdiffstats
path: root/main/mercurial/APKBUILD
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2012-05-25 09:39:32 +0000
committerFabian Affolter <fabian@affolter-engineering.ch>2012-05-25 19:36:37 +0000
commit1a64abeee622949cdd072c2fd8446d9f30fdc488 (patch)
tree54ca406b23aacd21ce97fa48be968a3ff60f8ba9 /main/mercurial/APKBUILD
parentc6f88578d8073d83e50866732ff4415fe9c56510 (diff)
downloadaports-1a64abeee622949cdd072c2fd8446d9f30fdc488.tar.bz2
aports-1a64abeee622949cdd072c2fd8446d9f30fdc488.tar.xz
main/mercurial: clarified license
Diffstat (limited to 'main/mercurial/APKBUILD')
-rw-r--r--main/mercurial/APKBUILD11
1 files changed, 6 insertions, 5 deletions
diff --git a/main/mercurial/APKBUILD b/main/mercurial/APKBUILD
index 3bce6d13c..358eee4bd 100644
--- a/main/mercurial/APKBUILD
+++ b/main/mercurial/APKBUILD
@@ -5,19 +5,20 @@ pkgrel=0
pkgdesc="A scalable distributed SCM tool"
url="http://www.selenic.com/mercurial"
arch="all"
-license="GPL"
-depends="python"
+license="GPL2+"
+depends=""
makedepends="python-dev"
subpackages="$pkgname-doc"
source="http://www.selenic.com/$pkgname/release/$pkgname-$pkgver.tar.gz"
+_builddir="$srcdir"/$pkgname-$pkgver
build() {
- cd "$srcdir"/$pkgname-$pkgver
- python setup.py build
+ cd "$_builddir"
+ python setup.py build || return 1
}
package() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$_builddir"
python setup.py install --root="$pkgdir" || return 1
install -d "$pkgdir"/usr/share/man/man1 "$pkgdir"/usr/share/man/man5
install -m644 doc/hg.1 ""$pkgdir"/usr/share/man/man1" || return 1