[arch-commits] Commit in mtr/repos (extra-x86_64 extra-x86_64/PKGBUILD)

Jan de Groot jgc at archlinux.org
Sat Feb 14 22:39:28 UTC 2009


    Date: Saturday, February 14, 2009 @ 17:39:28
  Author: jgc
Revision: 26953

Merged revisions 26952 via svnmerge from 
svn+ssh://svn.archlinux.org/srv/svn-packages/mtr/trunk

........
  r26952 | jgc | 2009-02-14 22:39:17 +0000 (Sat, 14 Feb 2009) | 2 lines
  
  upgpkg: mtr 0.75-4
      Build without termcap-compat (build in clean chroot please!)
........

Modified:
  mtr/repos/extra-x86_64/	(properties)
  mtr/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |   17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)


Property changes on: mtr/repos/extra-x86_64
___________________________________________________________________
Modified: svnmerge-integrated
   - /mtr/trunk:1-26817
   + /mtr/trunk:1-26952

Modified: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2009-02-14 22:39:17 UTC (rev 26952)
+++ extra-x86_64/PKGBUILD	2009-02-14 22:39:28 UTC (rev 26953)
@@ -3,19 +3,18 @@
 
 pkgname=mtr
 pkgver=0.75
-pkgrel=3
+pkgrel=4
 pkgdesc="Combines the functionality of traceroute and ping into one tool"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64')
 license=('GPL')
-depends=('gtk2' 'ncurses' 'termcap-compat')
-source=(ftp://ftp.bitwizard.nl/mtr/$pkgname-$pkgver.tar.gz)
+depends=('gtk2>=2.14.7' 'ncurses>=5.7')
+source=(ftp://ftp.bitwizard.nl/mtr/${pkgname}-${pkgver}.tar.gz)
 url="http://www.bitwizard.nl/mtr/"
+md5sums=('23baca52d0922c2ecba7eba05317868c')
 
 build() {
-  cd $startdir/src/$pkgname-$pkgver
-  ./configure --prefix=/usr --enable-gtk2
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  ./configure --prefix=/usr --enable-gtk2 || return 1
   make || return 1
-  make prefix=$startdir/pkg/usr install
-  install -dm755 ${pkgdir}/usr/share
+  make DESTDIR="${pkgdir}" install || return 1
 }
-md5sums=('23baca52d0922c2ecba7eba05317868c')




More information about the arch-commits mailing list