From a83ef5efe6adc5d6d4492fbe6421b34aa2e0ebb6 Mon Sep 17 00:00:00 2001 From: Omar Vega Ramos Date: Tue, 7 Jul 2015 17:04:44 -0500 Subject: wdiff-1.2.2-1: updating version --- pcr/wdiff/PKGBUILD | 31 ++++++++++++++----------------- pcr/wdiff/wdiff.install | 13 +++++++++++++ 2 files changed, 27 insertions(+), 17 deletions(-) create mode 100644 pcr/wdiff/wdiff.install 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 +# Maintainer (Arch): speps +# Contributor (Arch): TDY +# Maintainer: Omar Vega Ramos 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 +} -- cgit v1.2.3