You are not logged in.

#1 2008-02-10 20:03:47

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,717

please verify this makepkg issue [solved]

Either I'm in desperate need of some sleep, my system is fubar, or this actually is a bug tongue

Anyways, the test case

take this PKGBUILD

pkgname=test
pkgver=1
pkgrel=1
pkgdesc=""
url=""
license=('GPL2')
arch=('i686' 'x86_64')
depends=()
source=(testfile)

build() {
  cd $startdir/src/
  install -Dm644 -v testfile $startdir/pkg/usr/share/doc/test/testfile
  
}

create the testfile with

touch testfile

run makepkg

expected behavior: testfile ends up in $startdir/pkg/usr/share/doc/test/testfile

actual behavior:

install verbose mode spits out the following:

install: creating directory `/home/ronald/test/pkg/usr'
install: creating directory `/home/ronald/test/pkg/usr/share'
install: creating directory `/home/ronald/test/pkg/usr/share/doc'
install: creating directory `/home/ronald/test/pkg/usr/share/doc/test'
`testfile' -> `/home/ronald/test/pkg/usr/share/doc/test/testfile'

However, 'cd pkg && find' results in

.
./.PKGINFO
./usr
./usr/share

Please verify the above behavior.

Last edited by pressh (2008-02-10 20:09:56)

Offline

#2 2008-02-10 20:08:43

ise
Developer
From: Karlsruhe / Germany
Registered: 2005-10-06
Posts: 402
Website

Re: please verify this makepkg issue [solved]

You know, that makepkg deletes doc directories?

"-> Removing info/doc files..."  wink

add "options=('docs')", if you want to keep files in doc directories.

The behavior is completly right... big_smile

Last edited by ise (2008-02-10 20:09:28)

Offline

#3 2008-02-10 20:09:20

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,717

Re: please verify this makepkg issue [solved]

ise wrote:

You know, that makepkg deletes doc directories?

"-> Removing info/doc files..."  wink

add "options=('docs')", if you want to keep files in doc directories.

lol

thanks, so I need some sleep tongue

Offline

Board footer

Powered by FluxBB