diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..a4fbea21a633 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,20 @@ +# Maintainer: Stefan Betz <info@stefan-betz.net> +# Contributor: Daniele Paolella <dp@hostess-promoter.com> +pkgname=trac-mercurial +pkgver=1.0.0.1 +pkgrel=1 +pkgdesc="Mercurial plugin for Trac" +arch=('any') +url="http://trac.edgewall.org/wiki/TracMercurial" +license=('GPL2') +depends=('setuptools' 'trac>=1.0') +makedepends=('mercurial') + +build() { + cd "$srcdir" + hg clone http://hg.edgewall.org/trac/mercurial-plugin#1.0 + cd mercurial-plugin + python2 setup.py install --prefix=/usr --root="$pkgdir" + mkdir -p "$pkgdir/usr/share/doc/trac-mercurial" + install README "$pkgdir/usr/share/doc/trac-mercurial" +} |