You are not logged in.

#1 2004-11-06 10:02:31

ganlu
Member
From: ChongQing, China
Registered: 2004-01-04
Posts: 360

meld and /usr/local

Meld is a visual diff merge and source control tool, I compiled but get when namcaping:

[ganlu@A meld]$ namcap meld-0.9.4.1-1.pkg.tar.gz
...
meld       W: File (usr/local/) exists in a non-standard directory.
meld       W: File (usr/local/bin/) exists in a non-standard directory.
meld       W: File (usr/local/bin/meld) exists in a non-standard directory.
meld       W: File (usr/local/lib/) exists in a non-standard directory.
meld       W: File (usr/local/lib/meld/) exists in a non-standard directory.
.....

I have set prefix=/usr in PKGBUILD, but it seems no luck.

#Contributor: ganlu <rhythm_gan@yahoo.com.cn>
pkgname=meld
pkgver=0.9.4.1
pkgrel=1
pkgdesc="Meld is a visual diff merge and source control tool."
url="http://meld.sf.net/"
license=GPL
depends=('python')
makedepends=('')
confilcts=()
backup=()
source=(http://ftp.gnome.org/pub/gnome/sources/meld/0.9/$pkgname-$pkgver.tar.bz2)
md5sum=('cd5f02e084529c581ce52a22647ca4dc')

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/usr
  make || return 1
  make DESTDIR=$startdir/pkg install
}
~
~

Thank you in advance.

Offline

#2 2004-11-06 11:33:48

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,896
Website

Re: meld and /usr/local

There seems to be a package meld in staging

HTH


Mr Green

Offline

#3 2004-11-07 13:18:13

ganlu
Member
From: ChongQing, China
Registered: 2004-01-04
Posts: 360

Re: meld and /usr/local

Oh, thank you, sorry I didn't check the staging.
Anyway I still wonder how I can do with such situation.

Offline

#4 2004-11-07 14:12:19

lanrat
Member
From: Poland
Registered: 2003-10-28
Posts: 1,274

Re: meld and /usr/local

Some time ago I also tried to make meld package and I had to do something like this to make it install in the proper directory

  make prefix=/usr || return 1
  make prefix=/usr install DESTDIR=$startdir/pkg

I know that's weird but it didn't want to work without these settings. I didn't investigated it further but I guess something was wrong in the meld makefile. I hope it's fixed now in the newest version.

Offline

#5 2004-11-09 03:06:47

ganlu
Member
From: ChongQing, China
Registered: 2004-01-04
Posts: 360

Re: meld and /usr/local

Thanks,.

Offline

Board footer

Powered by FluxBB