You are not logged in.
Either I'm in desperate need of some sleep, my system is fubar, or this actually is a bug ![]()
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 testfilerun 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/sharePlease verify the above behavior.
Last edited by pressh (2008-02-10 20:09:56)
Offline
Offline
You know, that makepkg deletes doc directories?
"-> Removing info/doc files..."
add "options=('docs')", if you want to keep files in doc directories.
lol
thanks, so I need some sleep ![]()
Offline