From 011a8ec0b2a7d89d4e00e39ba83dd760f1cd4c6a Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 1 Oct 2009 16:18:48 +0200 Subject: [PATCH] Added bzrtools-2.0.1 build template. --HG-- extra : convert_revision : 8770fe60b008e96d41d7a335e6638eb4e696abf1 --- templates/bzrtools/template | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 templates/bzrtools/template diff --git a/templates/bzrtools/template b/templates/bzrtools/template new file mode 100644 index 00000000000..8a81261e14f --- /dev/null +++ b/templates/bzrtools/template @@ -0,0 +1,23 @@ +# Template file for 'bzrtools' +pkgname=bzrtools +version=2.0.1 +wrksrc=$pkgname +distfiles="http://launchpad.net/$pkgname/stable/$version/+download/$pkgname-$version.tar.gz" +build_style=custom-install +short_desc="Plugin providing a collection of utilities for bzr" +maintainer="Juan RP " +checksum=0dffad46808490b0825c201719f61c77d91a360853abaf229c4ca5c05ab24d54 +long_desc=" + This is a plugin providing a collection of utilities for bzr." + +noarch=yes + +Add_dependency full python +Add_dependency full bzr + +do_install() +{ + cd ${wrksrc} + sed -i 's|man/man1|share/man/man1|g' setup.py + python setup.py install --prefix=usr --root=${DESTDIR} +}