You are not logged in.

#1 2009-02-22 03:35:12

tinhtruong
Member
From: Australia
Registered: 2008-12-18
Posts: 117

[SOLVED] Can I submit a package including source code inside to AUR?

I'm about to make PKGBUILD for scim-unikey (http://code.google.com/p/scim-unikey/), they dont not have a public subversion url right now. The current version on their site is quite old. They update the newest package through a thread here http://forum.ubuntu-vn.org/viewtopic.ph … &sk=t&sd=a (WARNING: it's Vietnamese).
I want to make a package for the newest version, so my question is: can I include the source code of the newest version inside my tarball to the AUR?
The wiki http://wiki.archlinux.org/index.php/AUR_User_Guidelines and http://wiki.archlinux.org/index.php/Arc … _Standards dont mention anything about included source code.
Comments are welcome!

Last edited by tinhtruong (2009-02-22 07:57:24)

Offline

#2 2009-02-22 05:48:38

smartboyathome
Member
From: $HOME
Registered: 2007-12-23
Posts: 334
Website

Re: [SOLVED] Can I submit a package including source code inside to AUR?

Include the source file in your pkgbuild, and then run makepkg --source and upload the resulting *.src.tar.gz file to the server. smile

Last edited by smartboyathome (2009-02-22 05:48:55)

Offline

#3 2009-02-22 07:56:44

tinhtruong
Member
From: Australia
Registered: 2008-12-18
Posts: 117

Re: [SOLVED] Can I submit a package including source code inside to AUR?

Many thanks. Here is the details what I've done:
set the 'source' in the PKGBUILD file like this:

source=($pkgname-$pkgver.tar.bz2)

Instead of a valid url, make sure you have the file '$pkgname-$pkgver.tar.bz2' (in my case it's scim-unikey-20090218.tar.bz2) is in the same directory as the PKGBUILD file.
Hope it could be useful to someone else.

Offline

#4 2009-02-22 08:03:15

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,403
Website

Re: [SOLVED] Can I submit a package including source code inside to AUR?

Just as a query here, can you not link to the forum site to download the source?

Offline

#5 2009-02-23 02:47:10

tinhtruong
Member
From: Australia
Registered: 2008-12-18
Posts: 117

Re: [SOLVED] Can I submit a package including source code inside to AUR?

I don't have any host, so I just temporarily put it there, when the project have a valid download source code (soon) I will update the PKGBUILD.
Thanks for your notes.

Offline

Board footer

Powered by FluxBB