blob: aecca399d5e93dd68b53152e37db4413c916d897 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# Maintainer: drrossum <d.r.vanrossum at gmx.de>
pkgname=hgsubversion
pkgver=1.9.2
pkgrel=1
pkgdesc="extension for Mercurial that allows using Mercurial as a Subversion client"
url="https://bitbucket.org/durin42/hgsubversion"
arch=(any)
license=('GPL2')
depends=('mercurial' 'subversion')
source=("$pkgname-$pkgver.tar.bz2::https://bitbucket.org/durin42/$pkgname/get/$pkgver.tar.bz2")
md5sums=('2541d0e5a7babae77001e525d76e4b8d')
prepare() {
_dirname=$(bsdtar -tf "${source[0]%%::*}" | awk -F / '{print $1; exit}')
ln -sfT $_dirname $pkgname-$pkgver
}
build() {
cd "$srcdir/$pkgname-$pkgver"
python2 setup.py build
}
package() {
cd "$srcdir/$pkgname-$pkgver"
python2 setup.py install --prefix=/usr --root="$pkgdir"
}
|