You are not logged in.

#1 2007-05-31 06:29:10

frigg
Member
From: Germany, Europe
Registered: 2006-10-30
Posts: 46

duplicate Readme.txt message when using makepkg

Hi there,

after creating a PKGBUILD for argyllcms and start building with makepkg I've got the message that there is a Readme.txt following with the Options overwrite and more. I've examined the zip archive and found no place where this could be happen:
$ unzip -l argyll_dev_src.zip | grep Readme
     1348  05-16-07 13:56   Readme.txt
      463  05-16-07 13:56   numlib/Readme.txt
      104  05-16-07 13:57   plot/Readme.txt
     6802  05-16-07 13:57   icc/Readme.txt
    12627  05-16-07 13:57   cgats/Readme.txt
     1687  05-16-07 13:57   rspl/Readme.txt
      947  05-16-07 13:57   gamut/Readme.txt
      503  05-16-07 13:57   xicc/Readme.txt
     1317  05-16-07 13:57   spectro/Readme.txt
     4945  05-16-07 13:57   imdi/Readme.txt
      484  05-16-07 13:57   target/Readme.txt
      277  05-16-07 13:57   scanin/Readme.txt
       59  05-16-07 13:57   profile/Readme.txt
      182  05-16-07 13:57   link/Readme.txt
      211  05-16-07 13:57   tweak/Readme.txt
      263  05-16-07 13:57   render/Readme.txt
       34  05-16-07 13:57   lib/Readme.txt
       50  05-16-07 13:57   h/Readme.txt

The package is build fine but I want to upload the PKGBUILD to AUR and for this reason this problem should be fixed.

Following the first lines of my PKGBUILD:
pkgname=argyllcms
pkgver=0.70b4
pkgrel=1
pkgdesc="An ICC compatible color management system with support for different colorimeter hardware"
arch=("i686")
depends=('ftjam' 'zip' 'unzip')
source=(http://www.argyllcms.com/argyll_dev_src.zip)
url="http://www.argyllcms.com/"
license=("GPL" "LGPL")
install=argyllcms.install
md5sums=('656e5e3ed7d14bdbbd54a451d28a4ef4')

build() {
  cd ${startdir}/src
  unzip argyll_dev_src.zip
  sed -i '/jam -j${NUMBER_OF_PROCESSORS:-1} install;/s#jam -j${NUMBER_OF_PROCESSORS:-1}#jam -f../Jambase -j${NUMBER_OF_PROCESSORS:-1}#' ./makeinstall.ksh

Is there anybody who can explain why the message about an existing Readme.txt file appears and why this is only happen using makepkg and not by building manually?

regards,

Frank

Offline

#2 2007-05-31 11:51:55

frigg
Member
From: Germany, Europe
Registered: 2006-10-30
Posts: 46

Re: duplicate Readme.txt message when using makepkg

Is it possible that makepkg extract the ziped source by itself and the following call of unzip caused this message?

Where can I view the source of makepkg in cvs?

Offline

#3 2007-06-01 06:02:52

frigg
Member
From: Germany, Europe
Registered: 2006-10-30
Posts: 46

Re: duplicate Readme.txt message when using makepkg

Solved!

Yes makepkg extracts the ziped source by itself, the second call of unzip is obsolete just deleted this line from PKGBUILD!

Frank

Offline

Board footer

Powered by FluxBB