diff options
Diffstat (limited to 'community/fldiff/PKGBUILD')
-rw-r--r-- | community/fldiff/PKGBUILD | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/community/fldiff/PKGBUILD b/community/fldiff/PKGBUILD index 2946ef440..ab25a3240 100644 --- a/community/fldiff/PKGBUILD +++ b/community/fldiff/PKGBUILD @@ -1,23 +1,31 @@ -# $Id: PKGBUILD 8588 2010-01-21 01:26:51Z dgriffiths $ +# $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=5 +pkgrel=6 pkgdesc="graphical diff program" arch=(i686 x86_64) url="http://www.easysw.com/~mike/fldiff/" -source=(http://www.easysw.com/~mike/fldiff/$pkgname-$pkgver-source.tar.gz) license=('GPL') install=fldiff.install depends=('diffutils' 'fltk' 'xdg-utils') -md5sums=('12897c92106fb5d665210a2e82f5cf25') +source=(http://www.easysw.com/~mike/fldiff/$pkgname-$pkgver-source.tar.gz + build-fix.patch) +md5sums=('12897c92106fb5d665210a2e82f5cf25' + 'ea7258e07544b81561c6d76a41c184e7') build() { - cd $startdir/src/$pkgname-$pkgver + cd $srcdir/$pkgname-$pkgver + patch -p1 <$srcdir/build-fix.patch ./configure --prefix=/usr - make || return 1 - make BUILDROOT=$startdir/pkg install install-desktop || return 1 - mv `find $startdir/pkg/ -name Development -type d` $startdir/pkg/usr/share/applications + make +} + +package() { + cd $srcdir/$pkgname-$pkgver + make BUILDROOT=$pkgdir install install-desktop + mv `find $pkgdir/ -name Development -type d` $startdir/pkg/usr/share/applications } |