summaryrefslogtreecommitdiff
path: root/community/fldiff/PKGBUILD
blob: ab25a32407fc08fcb1c74045b648bdb50f2fea06 (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
# $Id: PKGBUILD 51104 2011-07-05 09:00:11Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: kevin <kevin@archlinux.org>
# Contributor: iztok pizorn <pizorn@gmail.com>

pkgname=fldiff
pkgver=1.1
pkgrel=6
pkgdesc="graphical diff program"
arch=(i686 x86_64)
url="http://www.easysw.com/~mike/fldiff/"
license=('GPL')
install=fldiff.install
depends=('diffutils' 'fltk' 'xdg-utils')
source=(http://www.easysw.com/~mike/fldiff/$pkgname-$pkgver-source.tar.gz
	build-fix.patch)
md5sums=('12897c92106fb5d665210a2e82f5cf25'
         'ea7258e07544b81561c6d76a41c184e7')

build() {
  cd $srcdir/$pkgname-$pkgver
  patch -p1 <$srcdir/build-fix.patch
  ./configure --prefix=/usr
  make
}

package() {
  cd $srcdir/$pkgname-$pkgver
  make BUILDROOT=$pkgdir install install-desktop
  mv `find $pkgdir/ -name Development -type d` $startdir/pkg/usr/share/applications
}