summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2015-07-07 17:04:44 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2015-07-07 17:04:44 -0500
commita83ef5efe6adc5d6d4492fbe6421b34aa2e0ebb6 (patch)
tree03f6cafcc29fbccbbb166fdffed89a956e4575a9
parent2d8d34c87fff47ed554f5c972d2e768c8b165906 (diff)
downloadabslibre-a83ef5efe6adc5d6d4492fbe6421b34aa2e0ebb6.tar.gz
abslibre-a83ef5efe6adc5d6d4492fbe6421b34aa2e0ebb6.tar.bz2
abslibre-a83ef5efe6adc5d6d4492fbe6421b34aa2e0ebb6.zip
wdiff-1.2.2-1: updating version
-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
+}