blob: 4c6a621ac9dd14acb49e5ff0c80e81d3af403581 (
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
29
30
31
32
33
|
# Contributor: Bernhard Walle <bernhard@bwalle.de>
# Contributor: Clovis Fabricio <arch.nosklo@0sg.net>
# Contributor: Christopher Krooß <c.krooss@gmail.com>
# Maintainer: Andre Klitzing <aklitzing () gmail () com>
# AUR Category: devel
pkgname=tortoisehg
pkgver=4.1.1
pkgrel=1
pkgdesc="Graphical tools for Mercurial"
url="https://tortoisehg.bitbucket.io"
license=("GPL")
depends=('python2' 'mercurial>=4.0' 'python2-pyqt4>=4.10' 'python2-qscintilla' 'python2-iniparse')
builddepends=(python2)
arch=('any')
optdepends=('python2-pygments: syntax highlighting'
'python2-nautilus: Python binding for Nautilus components')
source=("http://bitbucket.org/tortoisehg/targz/downloads/${pkgname}-${pkgver}.tar.gz")
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
python2 setup.py install --prefix=/usr --root="${pkgdir}"
install -Dm 644 "contrib/mergetools.rc" "${pkgdir}/etc/mercurial/hgrc.d/thgmergetools.rc"
install -Dm 644 "contrib/thg.desktop" "${pkgdir}/usr/share/applications/thg.desktop"
install -Dm 644 "icons/svg/thg_logo.svg" "${pkgdir}/usr/share/pixmaps/thg_logo.svg"
# already provided by hg 4.0
rm "${pkgdir}/usr/lib/python2.7/site-packages/hgext3rd/__init__.py"
rm "${pkgdir}/usr/lib/python2.7/site-packages/hgext3rd/__init__.pyc"
}
sha256sums=('4f483b091d8a67e7dd3a044893a5a6a9e59b6d3a26a9ea679131920ecb2dde91')
|