[aur-general] How to submit manpage, *.desktop-files and corresponging icon to AUR?
Hi, I took over the work on the orphaned package jondo (http://aur.archlinux.org/packages.php?ID=17965). Because I already packaged jondo for debian and ubuntu I also want to package it for ArchLinux. Because upstream is just offering the JAP.jar I had to create the man-page, *.desktop file for the menu-entry and the corresponding image by myself. If I create the package on my system with makepkg everything seems to work fine. All files are installed correctly, everything works as it should,.. But the problem is if I upload the PKGBUILD to AUR just the PKGBUILD-File is uploaded but how do I get the other files uploaded to AUR? I've seen a lot of packages which had other files uploaded like patch-files and so on.. but how do I do it? I can't find anything in the AUR-webinterface about it. greetings
Hi, just enter the folder with you PKGBUILD and type makepkg --source which creates tarball with all files listed in sources=() array. Than upload this tarball to AUR. Dan V. On Friday 14 November 2008 16:10:24 Rorschach wrote:
Hi, I took over the work on the orphaned package jondo (http://aur.archlinux.org/packages.php?ID=17965). Because I already packaged jondo for debian and ubuntu I also want to package it for ArchLinux. Because upstream is just offering the JAP.jar I had to create the man-page, *.desktop file for the menu-entry and the corresponding image by myself.
If I create the package on my system with makepkg everything seems to work fine. All files are installed correctly, everything works as it should,..
But the problem is if I upload the PKGBUILD to AUR just the PKGBUILD-File is uploaded but how do I get the other files uploaded to AUR? I've seen a lot of packages which had other files uploaded like patch-files and so on.. but how do I do it? I can't find anything in the AUR-webinterface about it.
greetings
-- --------------------------------- Dan Vrátil progdan@progdansoft.com ICQ 249163429 Jabber progdan@jabber.cz Tel. +420 732 326 870
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
On Fri, Nov 14, 2008 at 4:44 PM, Rorschach <r0rschach@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
Hi Ronald, thanks for your feedback! I have fixed the errors you mentioned in the package now. greetings regards Rorschach -- Mail: r0rschach@lavabit.com (pgp: 0xD6DEB90A) Irc : Rorschach on irc.freenode.net Web : http://rorschachstagebuch.wordpress.com
participants (3)
-
Dan Vratil
-
Ronald van Haren
-
Rorschach