diff options
Diffstat (limited to 'mtr-cli/PKGBUILD')
-rw-r--r-- | mtr-cli/PKGBUILD | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/mtr-cli/PKGBUILD b/mtr-cli/PKGBUILD index 5b378ab..2383be7 100644 --- a/mtr-cli/PKGBUILD +++ b/mtr-cli/PKGBUILD @@ -3,13 +3,13 @@ pkgname=mtr-cli pkgver=0.77 -pkgrel=1 +pkgrel=2 pkgdesc="Combines the functionality of traceroute and ping into one tool" arch=('i686' 'x86_64') license=('GPL') depends=('ncurses>=5.7') conflicts=('mtr') -source=(ftp://ftp.bitwizard.nl/mtr/mtr-${pkgver}.tar.gz) +source=(ftp://ftp.bitwizard.nl/mtr/mtr-${pkgver}.tar.gz no_gtk.patch) url="http://www.bitwizard.nl/mtr/" build() { @@ -17,9 +17,10 @@ build() { aclocal autoconf automake - sh ./configure --prefix=/usr --disable-gtktest --without-gtk || return 1 + sed -i 's#./configure#./configure --prefix=/usr --without-gtk#' Makefile + patch -p0 < "$srcdir/no_gtk.patch" make || return 1 make DESTDIR="${pkgdir}" install || return 1 } -md5sums=('a05e5f428118ce22cef06fb5a6c0ee34') -sha1sums=('5b77abb40464ca92aa545afae4f3aaf1ad341999') +md5sums=('a05e5f428118ce22cef06fb5a6c0ee34' + '6ac91ddba465f3bf5d2af26b533b578f') |