summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
Diffstat (limited to 'pcr')
-rw-r--r--pcr/wdiff/PKGBUILD31
-rw-r--r--pcr/wdiff/wdiff.install13
2 files changed, 27 insertions, 17 deletions
diff --git a/pcr/wdiff/PKGBUILD b/pcr/wdiff/PKGBUILD
index 86989ac83..e1a3d3836 100644
--- a/pcr/wdiff/PKGBUILD
+++ b/pcr/wdiff/PKGBUILD
@@ -1,29 +1,26 @@
-# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
+# Maintainer (Arch): speps <speps at aur dot archlinux dot org>
+# Contributor (Arch): TDY <tdy@gmx.com>
+# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
pkgname=wdiff
-pkgver=1.2.1
+pkgver=1.2.2
pkgrel=1
-pkgdesc="A front end to diff for comparing files on a word per word basis."
-arch=('i686' 'x86_64' 'mips64el')
-url="https://www.gnu.org/software/$pkgname/"
+pkgdesc="A wordwise implementation of GNU diff"
+arch=('i686' 'x86_64')
+url="http://www.gnu.org/software/$pkgname/"
license=('GPL3')
-depends=('diffutils')
-source=(http://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz)
+depends=('ncurses')
+install="$pkgname.install"
+source=("http://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz")
+md5sums=('1c6ddd1f3106139ff9fe00e934df715f')
build() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd $pkgname-$pkgver
./configure --prefix=/usr
make
}
-check() {
- cd "$srcdir/$pkgname-$pkgver"
- make -k check
-}
-
package() {
- cd "$srcdir/$pkgname-$pkgver"
- make DESTDIR="$pkgdir/" install
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
}
-
-md5sums=('fc54e044b229a23c1cfa8e5689196f24')
diff --git a/pcr/wdiff/wdiff.install b/pcr/wdiff/wdiff.install
new file mode 100644
index 000000000..40c5b92fc
--- /dev/null
+++ b/pcr/wdiff/wdiff.install
@@ -0,0 +1,13 @@
+infodir=/usr/share/info
+
+post_install() {
+ install-info $infodir/wdiff.info $infodir/dir 2> /dev/null
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ install-info --delete $infodir/wdiff.info $infodir/dir 2> /dev/null
+}