diff options
author | Florian Pritz <bluewind@xssn.at> | 2010-05-31 20:38:21 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xssn.at> | 2010-05-31 20:38:21 +0200 |
commit | 313df1cf5bf1a1c8491f919b068c35531e639496 (patch) | |
tree | 846075469960ae1a0af172dbe3d6cec00c41794f /mtr-cli/PKGBUILD | |
parent | b8c04f4a2143480b7e0667d031061c682635aa4d (diff) | |
download | aur-packages-313df1cf5bf1a1c8491f919b068c35531e639496.tar.gz aur-packages-313df1cf5bf1a1c8491f919b068c35531e639496.tar.xz |
mtr-cli: add hacky no-gtk patch
Signed-off-by: Florian Pritz <bluewind@xssn.at>
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') |