You are not logged in.

#1 2009-02-27 15:44:11

leeight
Member
Registered: 2008-12-10
Posts: 9

chromium-browser based on GTK

I convert the ubuntu package to PKGBUILD. you can got it from

http://aur.archlinux.org/packages.php?ID=24266

These are my screenshots

1.png
2.png

Offline

#2 2009-02-27 16:01:55

Pierre
Developer
From: Bonn
Registered: 2004-07-05
Posts: 1,954
Website

Re: chromium-browser based on GTK

You should build it from source. This makes it available for other arches and reduces problem due to different libs on ubuntu.

Offline

#3 2009-02-27 16:40:41

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,127

Re: chromium-browser based on GTK

Strange that a browser needs p7zip to run. I saw your PKGBUILD and it looks like you are using it only to extract. If the actual browser doesn't need p7zip to run, you can put p7zip in a makedepends array instead of the depends array.

Also, I agree with Pierre that you should build from source.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#4 2009-02-27 17:11:53

leeight
Member
Registered: 2008-12-10
Posts: 9

Re: chromium-browser based on GTK

Inxsible wrote:

Strange that a browser needs p7zip to run. I saw your PKGBUILD and it looks like you are using it only to extract. If the actual browser doesn't need p7zip to run, you can put p7zip in a makedepends array instead of the depends array.

Also, I agree with Pierre that you should build from source.

thanks for your suggestion.

I'm not very familiar with PKGBUILD, but i'll change it asap

Offline

#5 2009-02-28 04:42:42

Ranguvar
Member
Registered: 2008-08-12
Posts: 2,540

Re: chromium-browser based on GTK

Also, Debian packages can be extracted using the 'ar' utility, which is part of binutils, a base (base-devel) package. So, kill the p7zip dependency, and use 'ar x' to extract smile Though I see another commenter might have a better idea than extracting Debian's package.

And one other thing, you're using pkgrel incorrectly - pkgrel should start at 1, and if you change the PKGBUILD or any other build file without a new actual package version, you increment pkgrel. If there's a new version, you change pkgver to the new package version and reset pkgrel to 1. Read the wiki for more info.

Thanks for the package!

Last edited by Ranguvar (2009-02-28 04:45:26)

Offline

Board footer

Powered by FluxBB