updated on Thu Jan 19 16:10:29 UTC 2012
[aur-mirror.git] / reposurgeon / PKGBUILD
blob55f60c0308ad5a6e076b9af81241e3daff536988
1 # Maintainer: Mike Swanson <mikeonthecomputer@gmail.com>
3 pkgname=reposurgeon
4 pkgver=1.9
5 pkgrel=1
6 pkgdesc="performs surgery on version control repositories"
7 arch=('any')
8 url="http://www.catb.org/~esr/reposurgeon/"
9 license=('BSD')
10 depends=('python')
11 source=(http://www.catb.org/~esr/reposurgeon/$pkgname-$pkgver.tar.gz)
12 sha256sums=('982daf0217f846a65a0e69826425dfc915bee17c404648017b26dbbe3e5759e4')
14 build() {
15   cd "$srcdir/$pkgname-$pkgver"
16   sed -i -e '
17     2139,+1 { D }
18     2141 { s/    raise/raise/ }
19     2142,+5 { D }' reposurgeon
22 package() {
23   cd "$srcdir/$pkgname-$pkgver"
24   install -Dm755 reposurgeon "$pkgdir/usr/bin/reposurgeon"
25   install -Dm644 reposurgeon.1 "$pkgdir/usr/share/man/man1/reposurgeon.1"
28 # vim:set ts=2 sw=2 et: