summaryrefslogtreecommitdiff
path: root/community/fldiff/PKGBUILD
blob: eea4708a46d7018be95f849f344704b7daa41d32 (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 65186 2012-02-20 10:08:06Z 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=7
pkgdesc="graphical diff program"
arch=(i686 x86_64 'mips64el')
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
}