[aur-general] How to submit manpage, *.desktop-files and corresponging icon to AUR?

Ronald van Haren pressh at gmail.com
Fri Nov 14 13:53:52 EST 2008


On Fri, Nov 14, 2008 at 4:44 PM, Rorschach <r0rschach at lavabit.com> wrote:
> Thanks that worked like a charm! I thought that you can just upload PKGBUILD files in the webinterface and not that it also  accepts Source-Packages.
>
> greets
>

Hi,

I just took a quick look at the PKGBUILD:

###########
  cp JAP.jar $startdir/pkg/usr/share/java/JAP.jar || return 1
  cp jondo.xpm $startdir/pkg/usr/share/pixmaps/jondo.xpm || return 1
  cp jondo.desktop $startdir/pkg/usr/share/applications/jondo.desktop
|| return 1
  cp jondo.1 $startdir/pkg/usr/share/man/man1/jondo.1 || return 1
  install -m644 jondo.xpm $startdir/pkg/usr/share/pixmaps/jondo.xpm
  install -m644 jondo.desktop
$startdir/pkg/usr/share/applications/jondo.desktop
  install -m644 JAP.jar $startdir/pkg/usr/share/java/JAP.jar
  install -m644 jondo.1 $startdir/pkg/usr/share/man/man1/jondo.1
############
you're doing more or less twice the same. You should remove the 'cp'
lines. Also $startdir/pkg can be replaced by $pkgdir (and
$startdir/src by $srcdir).

############
  mkdir -p $startdir/pkg{/usr/bin,/usr/share/java/$pkgname,/usr/share/pixmaps,/usr/share/applications,/usr/share/man/man1}
############
please use 'install -d' for these (or install -Dm644 in the other
above quotes lines), so you are sure permissions will be correct.

Regards,

Ronald



More information about the aur-general mailing list