summaryrefslogtreecommitdiff
path: root/community/fldiff
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/fldiff
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/fldiff')
-rw-r--r--community/fldiff/PKGBUILD23
-rw-r--r--community/fldiff/fldiff.install12
2 files changed, 35 insertions, 0 deletions
diff --git a/community/fldiff/PKGBUILD b/community/fldiff/PKGBUILD
new file mode 100644
index 000000000..2946ef440
--- /dev/null
+++ b/community/fldiff/PKGBUILD
@@ -0,0 +1,23 @@
+# $Id: PKGBUILD 8588 2010-01-21 01:26:51Z dgriffiths $
+# Maintainer: kevin <kevin@archlinux.org>
+# Contributor: iztok pizorn <pizorn@gmail.com>
+
+pkgname=fldiff
+pkgver=1.1
+pkgrel=5
+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')
+
+build() {
+ cd $startdir/src/$pkgname-$pkgver
+ ./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
+}
diff --git a/community/fldiff/fldiff.install b/community/fldiff/fldiff.install
new file mode 100644
index 000000000..b4ee8556f
--- /dev/null
+++ b/community/fldiff/fldiff.install
@@ -0,0 +1,12 @@
+post_install() {
+ which xdg-icon-resource 1>/dev/null 2>/dev/null && xdg-icon-resource forceupdate || true
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ which xdg-icon-resource 1>/dev/null 2>/dev/null && xdg-icon-resource forceupdate || true
+}
+