You are not logged in.

#1 2016-04-04 15:01:21

marmistrz
Member
Registered: 2016-01-05
Posts: 110

[Solved] Creating a package: directory exists in filesystem

I created the package for cbvike (see here: https://aur.archlinux.org/packages/cbvike/)
I put the resulting library into /usr/lib/codeblocks/plugins. This directory was created by the codeblocks package, to keep the plugins there.

Why is pacman opposing against putting anything into /usr/lib/codeblocks? /usr is owned by numerous packages and it never complains.

/edit: silly me, I simply used `install` the wrong way. the plugins "directory" was not a directory but a file in my package

Last edited by marmistrz (2016-04-04 15:04:57)

Offline

#2 2016-04-04 15:08:02

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,793

Re: [Solved] Creating a package: directory exists in filesystem

I think you need a trailing / after plugins : install -Dm664 libcbVike.so "$pkgdir/usr/lib/codeblocks/plugins"

Edit:  I missed seeing your edit.

Last edited by ewaller (2016-04-04 15:08:23)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

Board footer

Powered by FluxBB