updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / imediff2 / PKGBUILD
blob1f2a82879a3ce49c599476ea8465af310b22b5c4
1 # Contributor: Blake Imsland <uzum4ki@gmail.com>
3 pkgname=imediff2
4 pkgver=1.1.2
5 pkgrel=1
6 pkgdesc="interactive 2-way merge tool"
7 arch=(any)
8 url="http://elonen.iki.fi/code/imediff/"
9 license=('GPL')
10 depends=('ncurses' 'python2')
11 source=(http://alioth.debian.org/frs/download.php/1439/$pkgname-$pkgver.tar.gz)
12 md5sums=('e630e96229a7d0364f73ff595794c07c')
14 build() {
15   cd $srcdir/$pkgname
17   sed -i imediff2 \
18     -e 's|^#!/usr/bin/python.*|#!/usr/bin/python2|' \
19     -e "s|^VERSION = .*|VERSION = '$pkgver'|"
22 package() {
23   cd $srcdir/$pkgname
25   install -D -m 0755 imediff2 $pkgdir/usr/bin/imediff2
26   install -D -m 0644 imediff2.1 $pkgdir/usr/man/man1/imediff2.1