How to install package's man page

Hi all!
I'm the maintainer of pcsx2-svn in AUR and currently the installation process doesn't install the man page automatically. In the source code I have a "pcsx2.man" file, that I'm gzipping and moving to the correct man folder. See command:
gzip -9 "${pkgdir}/opt/pcsx2/docs/pcsx2.man"
mv "${pkgdir}/opt/pcsx2/docs/pcsx2.man.gz" "${pkgdir}/usr/share/man/man1/pcsx2.1.gz"
Is there a more proper way to do this in Archlinux?
Thanks in advance!
p.s.: `make install` will not install the man page, only the translation files.

Ah, simple as that? I didn't how this works until now... Thanks, falconindy!
Last edited by josephg (2011-03-21 03:01:59)

Similar Messages

  • How to export all the man page in mac to PDF?

    How to export all the man page in mac to PDF?
    I have tried "man -t cat | pstopdf -i -o ~/Desktop/cat.pdf" but this only output one page.
    How could I dump all the man pages to pdf with one or few command as possible?
    The other question is, I copy all the man pages form /usr/share/man, they are .gz.
    After I unzip them and open with less, texteidtor, ultraeditor, all the formate are weird.
    Is there any tool could open them with the right formate as man does?
    I know the man in linux uses the tool "less" to read man pages. How about mac???

    I use Bwana. Copy all and paste into TextEdit. Then, save it. This is the beginning for diskutil:
    diskutil(8)               BSD System Manager's Manual              diskutil(8)
    NAME
         diskutil -- Modify, verify and repair local disks.
    SYNOPSIS
         diskutil [quiet] verb [options]
    DESCRIPTION
         diskutil manipulates the volume-level structure of local disks.  It pro-
         vides information about, and allows the administration of, the partition-
         ing scheme of disks, optical discs, and AppleRAID sets.
    VERBS
         Each verb is listed with its description and individual arguments.
         list [-plist | device]
                    List disks.  If no argument is given, then all disks and all
                    of their partitions are listed.
                    If -plist is specified, then a property list will be emitted
                    instead of the normal user-readable output.  If a device is
                    specified, then instead of listing all families of whole disks
                    and their partitions, only one such family is listed.  In that
                    case, specifying either the whole disk or any of its slices
                    will work.  The -plist and device arguments may not both be
                    specified at the same time.

  • Makepkg: How to include source-bundled 'man pages' in the package?

    I'm trying to create a PKGBUILD for my own Python program.
    The source code has been packaged using Python's distutils.  Now, AFAICT distutils do not help you in any intelligent way to include a man page, so I just used a MANIFEST template to add the file to the source package.
    As for the PKGBUILD, I'm currently using an 'install -D -m0644' command (in the 'package' function) to copy the page from a directory under $srcdir to "${pkgdir}/usr/share/man/man1/${pkgname}.1.gz".
    However, seeing that makepkg has some built-in functions for compressing man pages, I figured that maybe it could deal with the proper placement too? My manual approach works nicely, but well, I figure the less of a hack job, the better.
    Thanks in advance - this is my first program and package build so I wanna get it right :)

    Thanks joyfulgirl - I guess I hadn't really thought through what kind of a deal makepkg is.
    At any rate, I figured I wouldn't have been the only Pythonista dealing with this issue and starting reading other people's setup scripts and according to Mutagen's setup.py putting desktop software man pages in 'share/man/man1' under the 'installation prefix' (a local variable, usually '/usr' or '/usr/local') can be considered a POSIX universal. Don''t know if this is reliable or just one hack replacing another, but it would mean being able to let Python's setup script take care of pretty much everything.

  • How to install packages from local folder

    Hi all,
    I have downloaded all arch linux packages from the following URLs:
    ftp://mirrors.kernel.org/archlinux/core/os/i686/
    ftp://mirrors.kernel.org/archlinux/extra/os/i686/
    ftp://mirrors.kernel.org/archlinux/community/os/i686/
    and then have saved them to an external hard disk. Then I have attached that external hard disk to my system and packages are available in following folders:
    /mnt/external_hd/Arch_Linux/Core-OS/
    /mnt/external_hd/Arch_Linux/Extra-OS-1/
    /mnt/external_hd/Arch_Linux/Extra-OS-2/
    /mnt/external_hd/Arch_Linux/Community-OS-1/
    /mnt/external_hd/Arch_Linux/Community-OS-2/
    /mnt/external_hd/Arch_Linux/Community-OS-3/
    Now I want to install some or all packages from these folder with the help of pacman command. I am seeing that package corresponding to wvdial command is available in the /mnt/external_hd/Arch_Linux/Extra-OS-1/ folder. But how to use pacman command so that I can install wvdial package from that folder?
    In addition to this if I want to install ALL Extra Packages available in the folders /mnt/external_hd/Arch_Linux/Extra-OS-1/ and /mnt/external_hd/Arch_Linux/Extra-OS-2/ then how to execute the pacman command?
    Please send me step by step instructions so that I shall be able to install some or all downloaded packages.
    I shall remain thankful for this forever.
    Best Regards ...
    Pankaj Kumar

    Hi fukawi2,
    Thanks for reply and searching for my username on google. It is true that I am a freelance s/w developer but I am not installing Arch Linux for any client. I am installing it due to some other reasons. In fact I started working on Red Hat and then on Fedora when I was a student of bachelor degree course in computer applications. Then later I searched open suse and started using it. I am using open suse from its 10.1 version. However the recent version of this distribution has become much resource consuming. So I am in the need of a light weight linux distribution. And I encountered Arch Linux. Then I purchased its installation disk from an online shop and installed it on my system. But only text mode is working at this moment. Since I want to use X window and so I started to follow the syntax of pacman command. But it is connecting to internet. Since my internet connection is slow (average speed of 10kbps) and so I requested the same online shop to download all packages from Arch Linux repository and send them to me. Therefore now I am having all those packages in my local external hard disk drive in the folder mentioned in my first post. Now I want to install packages from these folder. And so in order to get help I have come to this forum.
    I have also followed the steps given on the pages https://wiki.archlinux.org/index.php/Pa … l_commands and https://wiki.archlinux.org/index.php/Pa … repository. But when I am trying to install a particular package using the following command:
    pacman -U wvdial
    then it is asking for a dependency. I know that  the dependent package in my local folder but why it is not being automatically taken by pacman command? Can you please explain it.
    That is why I am asking help only for customization and usages of pacman in order to install packages from local folder. But each member in this forum is only referring to long written manuals and not giving me exact solution which I think will involve four/five steps.
    Best Regards ...
    Pankaj Kumar

  • How to install packages from removable media?

    I'm pretty damn sure that i missed some wiki page, but i cannot find it, how do i install packages without an internet connection. I installed on one of my computers, then realized i needed to install the wireless drivers after the install, which i cannot. I can ofcourse reinstall, but i believe there must be a possibility to make pacman install a bunch of packages from USB or a cd. I do have internet at my other computer, so i can download the packages there onto a usb-stick.

    Hi,
    you should try
    pacman -U /path/to/package.pkg.tar.gz
    I haven't tried this but that's the way one would manually install a package build with PKGBUILD and "made" with makepkg.
    Hope that helps.

  • How to install packages on client via VPN

    Hello
    I have a number of users that use laptops and mostly connect to the office network via an OSX VPN Server. I can see when they connect, copy files to them and control their screens.
    I do not seem to be able to install packages to them. The ARD console goes through the motions but the package never gets to the remote end and is never installed.
    Can anyone shed any light on this? From what I can tell this may be a multicast issue - if this is true how can I get the VPN server to route the multicast traffic, or alternatively how can I stop ARD from using multicast for these clients?
    Any help appreciated. If I can not use the package installation system it will make managing these users quite difficult.
    Kind regards
    Jason
      Mac OS X (10.4.9)  

    Hi Jason,
    Have you found anything else that can't be done or is acting strangely using ARD with those connecting via VPN? Another question that comes to mind is the up and down speed of both your office's connection to the net and that of the clients connecting in. You said that you can copy files to them--does that work with large files as well? Have you tried copying the install package rather than installing it to see if that works?
    I ask all of this because I've found in my support role with VPN clients, that viewing/controlling the screen, copying small files, chats, and alerts all work fine. But a large install package? I don't even bother. Sure, it works locally, but the upload speed of the company's internet connection isn't fast enough to do large copies or installs remotely. (Which is why I'm wondering about copying a large file.) I usually get a "Communication Error".
    Power Mac G5 1.8GHz DP, 1.5GB RAM, Mac OS X (10.4.10)    

  • How to install Package UTL_NLA?

    Hello,
    i've installed Oracle Database 10G R2 (10.2.0.1) with the Data Mining Option turned on. But i can't find die Package UTL_NLA nor can i use functions like UTL_NLA_ARRAY_DBL.
    I didn't find anything in the internet how to install the UTL_NLA package. Please Help.
    Best Regards
    Tien-dung Nguyen

    Hello,
    As far as I know you don't need to do anything to install the UTL_NLA package. The package should be part of the normal installation of the DB.
    I don't know if you are aware, but there is a data mining specific forum where questions related to analytics usually answered quite promptly.
    Finally, you may want to check out this post on using UTL_NLA:
    http://oracledmt.blogspot.com/2007/02/wikipedia-and-oracle-data-mining.html
    --Marcos                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How to install packages use aur?

    I want install dropbox package  and download use tarball done,it save home  dirctory.
    so i follwed by https://wiki.archlinux.org/index.php/Ar … Repository .
    # pacman -S base-devel   is done.  I try to  find build dirctory no have.
      i did make folder but not save it.then do this
    [wasan@arch ~]$ cd ~/builds
    bash: cd: /home/wasan/builds: No such file or directory
    [wasan@arch ~]$ cd builds
    bash: cd: builds: No such file or directory any help thanks.

    wasan wrote:I want  install  google earth  ,libreoffice, drop box in arch. some binery files how to open and install. I try  to open use arc no use, so choose via tarball method .thanks  for answers.
    At a guess, it seems like English might not be your first language. I would recommend you try asking in the Other Languages sub-forum. At least, LibreOffice is in the official repositories, so you shouldn't need to deal with the AUR if you don't want.
    All the best,
    -HG

  • How to install package with documentation

    hi, i installed emacs but the manual is missing in this instalation.
    How can I force to install a package with manual and other documentation?
    Thanks

    i solved it. I used the correponding option in PKGBUILD and compiled again. R.M.

  • [SOLVED]How to install packages with the -U option? PGP error.

    I have to downgrade some packages (linux package due to ath5k problem), but pacman won't allow me because of the signatures.
    I downloaded the packages i need from here http://schlunix.org/archlinux/.
    These packages are safe to install? How can i bypass the signature check, if these packages are safe to install?
    Thanks.
    Last edited by Hyugga (2012-04-19 19:46:23)

    If you have a pgp key, you can sign the packages with your own key. You can do this by editing /etc/makepkg.conf, adding your key to the  GPGKEY="" section and enabling the sign option in the BUILDENV section. When building the package, it'll then be signed with your personal key. Afterwards import your key in pacman (pacman-key -r <yourkey>), assign the proper trust level and you're good to go.
    A workaround is to temporarily set "SigLevel = Never" in your /etc/pacman.conf (and hence disabling keysigning).
    EDIT: I just bothered to actually check your link and you'll be installing prebuilt binaries, so my first explanation doesn't apply there (you won't be building anything). So just setting SigLevel to Optional or Never (temporarily) should do.
    Last edited by Gcool (2012-04-19 19:23:05)

  • Newbie: How to install packages from remote desktop?

    Hi,
    I have installed Solaris using Reduced Network without installing Volume Management. Now, I want to add more packages. I have tried to copy e.g. SUNWmfrun directory from my Windows XP desktop and SFTP/SSH to the remote Solaris server. Maybe because it is not a pkg but a directory; therefore, pkgadd cannot find a package to install. And I fail to use pkgtrans because lack of knowledge. What steps should I do?
    Regards,
    Terence

    It should be something like
    [local]
    Server = file:///path/to/packages

  • How to install package files to another place

    Hi geeks,
    I have my Hdd splitted acording to this schema:
    /dev/hda1 - winxp-c:\
    /dev/hda2 - lnx-swap
    /dev/hda3 - /boot
    /dev/hda4 - extended
    /dev/hda5 - arch-root (6GB)
    /dev/hda6 - /mnt/daaata (rest)
    In Windows age I installed big programs and games to dedicated partition, out of system partition (typicaly D:\). Because I have 6GB root partition a big /mnt/daaata partition with tens-of-GBs, I want to ask:
    > Is there a posibility to install e.g. Torcs or another big game package to my dedicated big partition?

    The location for packages is fixed in the PKGBUILD and points to /usr (majority) or /opt .
    You could try symlinking /usr and/or /opt to folders on your daaata partition, but atm pacman seems to have trouble with symlinks.
    The easiest solution would be to create a separate partition for /usr.

  • How to install preloader into html page?

    I'm sure this is a simple solution so thank you for helping.
    I've created a preloader to show the progress of a photo slideshow
    called landscape.swf It works fine when I test it in Flash 9.
    Question 1: Do I export the preloader as a .swf and place it
    on my html page in addition to the already existing landscape.swf?
    Or does the preloader automatically link to it in actionscript,
    thus I only need the preloader .swf on the html page?
    Question 2: When I do test it in Firefox, it says that there
    was a problem because of a missing URL. My preloader .fla and .swf
    are in the same folder as my landscape.swf and thus in my preloader
    actionscript I have the link written this way:
    var myrequest:URLRequest=new URLRequest ("landscape.swf");
    Am I linking to it incorrectly?
    All of my swf/fla files are in one folder called Flash in my
    root folder for my website.
    Here is the link to my page without the preloader if it
    helps:
    www.1earthphotography.com/landscapes.html
    You'll have to wait about 10-15 seconds for it to load, thus
    the need for a preloader.
    Thanks for all the help in advance.
    -Donny

    Start here.

  • My iPad 2 , safari missing new page button - please help how to instal it

    I am total novice in using ipad2 . Can some please advice me on how to install missing new button page on safari iPad 2?
    Also sorry it may be daft question ,my old computer crashed and I had to instal iTunes on  a new laptop but how  do I transfer iTunes music onto new laptop?
    It just seem to be suggesting to reinstall the I.e. iPod which would mean that I lose all my music on it....THANK YOU.

    Safari on iOS 5 uses tabbed browsing, not the thumbnail/paged browsing as on previous iOS versions - to open a new tab tap the '+' to the right of the tab bar, and to close the current tab tap the 'x' on its left-hand end (you can't close the last tab).
    In terms of your music, then if you haven't got a backup of your library which you can copy onto your computer, then you should be able to copy your iTunes purchases from the iPad to your computer's iTunes via File > Transfer Purchases. For music bought from other sources or copied from your own CDs you will need to find a third-party program that can copy them off.

  • No man pages

    Hi All,
    Whenever I ran man <<command>>.
    I get " No manual entry for <<command>>"
    MANPATH=/usr/dt/man:/usr/man:/usr/openwin/share/man
    How I do get the man pages?
    Thanks in advance,
    Message was edited by:
    Raiser

    Can You verify that the man-files are installed?
    What kind of installation do You have. If You
    have a core installation I don't think the man pages are installed
    (Was so in the past)
    If they are installed, try man -M /usr/share/man ls
    /Ulf

Maybe you are looking for

  • The TCP/IP connection does not closed after a VISA close

    I am using the VISA functions to communicate with a Sorenson SGA power supply from a Windows XP computer.  I have the VISA TCPIP Resource defined in MAX and use this alias name in the VISAResourceName for the input to the VISA Open.  Then I write a S

  • Windows users do not receive pictures sent with Aperture via Mail

    Sometimes my buddies windows users reply to my e-mail saying that they have not received the attached picture(s). It looks like their anti-virus software is cutting them off. This happens when I send the picture directly from Aperture using Mail. I'v

  • Tones are not working while ringtone works

    Phone will ring and alarm clock works.  But, any tones associated do not work.  Vibrate is how I know I have a text message or email

  • Flicker removal for slideshows

    I'm using Premiere Elements 7. I discovered after burning my slideshow that the photos flicker on the TV screen, which looks horrible. The FAQ says you can try and reduce this using flicker removal, but when I right-click on the pictures, "Field Opti

  • Sales return with Excise

    Dear SD gurus, Can you please tell me, during sales return with Excise in J1IH, which process need to be selected. Either "Other adjustments" or cancel "excise invoice". regards, Kumar