You are not logged in.

#1 2014-06-01 12:04:59

stevenhoneyman
Member
From: England
Registered: 2014-05-25
Posts: 241

Is the Perl packaging wiki page up-to-date?

I've become the maintainer of an orphaned package which has a main executable that is a perl script.

I read https://wiki.archlinux.org/index.php/Pe … nd_scripts
and it implies that I should place the script into /usr/bin/vendor_perl/

...but there are many (official) packages that put perl scripts into /usr/bin

Could someone please advise on which is correct before I upload my updated version?
Thanks.

P.S. as an example, here are the perl scripts in /usr/bin from official repos on my current installation:

$ find /usr/bin -maxdepth 1 -type f -exec file '{}' \;|awk -F: '/[P|p]erl/ {print $1}'|while read p; do echo "$p ($(pkgfile $p))"; done
/usr/bin/mtrace (core/glibc)
/usr/bin/urxvt-tabbed (community/rxvt-unicode)
/usr/bin/function_grep.pl (multilib/wine)
/usr/bin/c_rehash (core/openssl)
/usr/bin/md5pass (core/syslinux)
/usr/bin/dirsplit (extra/cdrkit)
/usr/bin/autoheader (core/autoconf)
/usr/bin/intltool-extract (extra/intltool)
/usr/bin/syslinux2ansi (core/syslinux)
/usr/bin/ispellaff2myspell (extra/hunspell)
/usr/bin/winemaker (multilib/wine)
/usr/bin/mkdiskimage (core/syslinux)
/usr/bin/gdialog (extra/zenity)
/usr/bin/intltool-merge (extra/intltool)
/usr/bin/intltool-update (extra/intltool)
/usr/bin/sorter (community/sleuthkit)
/usr/bin/ldd.fakechroot (extra/fakechroot)
/usr/bin/sha1pass (core/syslinux)
/usr/bin/pxelinux-options (core/syslinux)
/usr/bin/mactime (community/sleuthkit)
/usr/bin/keytab-lilo (core/syslinux)
/usr/bin/git-cvsserver (extra/git)
/usr/bin/intltool-prepare (extra/intltool)
/usr/bin/ppmtolss16 (core/syslinux)
/usr/bin/lss16toppm (core/syslinux)
/usr/bin/aspell-import (extra/aspell)
/usr/bin/sensors-detect (extra/lm_sensors)
/usr/bin/substrings.pl (extra/hyphen)
/usr/bin/pacsearch (core/pacman)
/usr/bin/glib-mkenums (core/glib2)
/usr/bin/conplay (extra/mpg123)
/usr/bin/isohybrid.pl (core/syslinux)

Offline

#2 2014-06-01 14:38:19

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,655

Re: Is the Perl packaging wiki page up-to-date?

Looking at the sample PKGBUILD, I would say that the article is very out of date. I have no idea about the executable location, though.

Offline

#3 2014-06-01 14:40:55

stevenhoneyman
Member
From: England
Registered: 2014-05-25
Posts: 241

Re: Is the Perl packaging wiki page up-to-date?

Thank-you - I assumed that, but just wanted to make sure.

I'll upload my AUR package with the script in /usr/bin and the module in the correct location; if someone who "sets the standards" would like it modifying, then I will do - no problem.

Offline

Board footer

Powered by FluxBB