updated on Mon Jan 23 12:00:23 UTC 2012
[aur-mirror.git] / hg-paste / PKGBUILD
blob7f2521a6bb1641708804bea24c780c665d0e6b11
1 # Contributor: Ismael Carnales <icarnales@gmail.com>
3 pkgname=hg-paste
4 pkgver=16
5 pkgrel=1
6 arch=('i686' 'x86_64')
7 pkgdesc="Paste extension for Mercurial which can send diffs to various pastebin websites for easy sharing"
8 url="http://bitbucket.org/sjl/hg-paste"
9 license=('GPL')
10 depends=(mercurial)
11 makedepends=(mercurial)
12 install=
13 source=()
14 md5sums=()
16 _hgroot="http://bitbucket.org/sjl"
17 _hgrepo=$pkgname
19 build() {
20         phyton_version=$(python -V 2>&1 | cut -d' ' -f2)
21         cd $startdir/src/$pkgname
22         install -m0644 -D paste.py $startdir/pkg/usr/lib/python${phyton_version%.*}/site-packages/hgext/paste.py