You are not logged in.

#1 2012-01-20 00:07:10

fana
Member
Registered: 2011-12-13
Posts: 2

[Solved] How to include examples for an AUR package

Hi,

I read the wiki pages how to create packages for the AUR,
but I am not sure how to include examples which should be placed
in /usr/share/doc/<package>/examples/ after the package was installed.

Should all files be mentioned in the "sources" variable of the PKGBUILD
or is it better to copy them via the .install file?

Last edited by fana (2012-01-22 17:38:41)

Offline

#2 2012-01-20 00:23:43

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] How to include examples for an AUR package

I think these files be included in the source, like e.g. http://www.archlinux.org//packages/comm … mpp/files/ It has only a PKGBUILD, no .install file http://projects.archlinux.org/svntogit/ … event-xmpp

Offline

#3 2012-01-20 00:35:32

fana
Member
Registered: 2011-12-13
Posts: 2

Re: [Solved] How to include examples for an AUR package

Ah, I see. So a good way would be just providing a tarball with all the examples and add that tarball to the source array

Last edited by fana (2012-01-20 00:36:01)

Offline

#4 2012-01-20 00:40:45

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] How to include examples for an AUR package

fana wrote:

Ah, I see. So a good way would be just providing a tarball with all the examples and add that tarball to the source array

Yup, I don't see how are these are examples different [1] from the other files.



[1] Well, apart from stuff like https://bugs.archlinux.org/task/25998 ;P

Offline

#5 2012-01-22 11:10:46

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] How to include examples for an AUR package

Please remember to mark the thread as solved.

Offline

Board footer

Powered by FluxBB