Mercurial > vanilla
comparison dev/mercurial/mercurial.sh @ 520:c6c29dc90899
dev: use new FHS
author | David Demelier <markand@malikania.fr> |
---|---|
date | Tue, 09 Apr 2019 19:49:25 +0200 |
parents | d27efe5b1ea0 |
children | bad483aace64 |
comparison
equal
deleted
inserted
replaced
519:824fb5352478 | 520:c6c29dc90899 |
---|---|
32 tar xvaf $PKGNAME-$PKGVERSION.tar.gz | 32 tar xvaf $PKGNAME-$PKGVERSION.tar.gz |
33 pushd $PKGNAME-$PKGVERSION | 33 pushd $PKGNAME-$PKGVERSION |
34 | 34 |
35 CC="$CC" \ | 35 CC="$CC" \ |
36 CFLAGS="$CFLAGS" \ | 36 CFLAGS="$CFLAGS" \ |
37 make PYTHON=python2 PREFIX=/usr all | 37 make PYTHON=python2 PREFIX=/ all |
38 make PYTHON=python2 PREFIX=/usr DESTDIR=$DESTDIR install | 38 make PYTHON=python2 PREFIX=/ DESTDIR=$DESTDIR install |
39 install -Dm0755 contrib/hg-ssh $DESTDIR/usr/bin/hg-ssh | 39 install -Dm0755 contrib/hg-ssh $DESTDIR/bin/hg-ssh |
40 install -Dm0755 contrib/hgk $DESTDIR/usr/libexec/mercurial/hgk | 40 install -Dm0755 contrib/hgk $DESTDIR/libexec/mercurial/hgk |
41 install -Dm0644 contrib/zsh_completion $DESTDIR/usr/share/zsh/site-functions/_$PKGNAME | 41 install -Dm0644 contrib/zsh_completion $DESTDIR/share/zsh/site-functions/_$PKGNAME |
42 install -Dm0644 contrib/bash_completion $DESTDIR/usr/share/bash-completion/completions/$PKGNAME | 42 install -Dm0644 contrib/bash_completion $DESTDIR/share/bash-completion/completions/$PKGNAME |
43 | 43 |
44 popd | 44 popd |
45 rm -rf $PKGNAME-$PKGVERSION | 45 rm -rf $PKGNAME-$PKGVERSION |
46 } | 46 } |