You are not logged in.

#1 2009-10-09 06:19:56

jubei
Member
Registered: 2009-10-09
Posts: 8

PKGBUILD for Varicad

Hello all,
I am a new Arch user & have successfully installed Arch onto 2 systems:
-i686 onto old PC with PEntium II 350MHz, 384Mb ram, 8Mb vga (intel740)
-x86-64 onto laptop with Turion 64 X2 1.6GHz, 1 Gb ram, Radeon xpress 1150

So far, I got no problem, thanks to Arch Wiki...
However, I now need an assistance to make a PKGBUILD for Varicad (shareware) which only available in deb & rpm binary.
from http://wiki.archlinux.org/index.php/User:ShadowKyogre I am able to extract the content but I don't have any idea how to make a proper PKGBUILD for it specially for the section "depend".
I checked their website & they only listed the following requirement:
== System Requirements ==
  True Color(24/32bit) mode and hardware support of OpenGL are always required.
  XOrg 6.9 or later
  glibc 2.4 or later
  libstdc++6 libraries
  OpenGL libraries
  XServer supporting OpenGL (extension GLX).
  Pentium III
  512MB RAM, HDD 100MB
  32MB graphic card with hardware support of OpenGL graphics

If I just extract the deb file using file roller, there is a folder called control which is not there if I use deb2tgz.
Inside this folder, I found a text file named control which contains the following info:
Depends: libc6 (>= 2.3.5-1), libfontconfig1 (>= 2.4.0), libfreetype6 (>= 2.2), libgcc1 (>= 1:4.1.1-12), libgl1-mesa-glx | libgl1, libglib2.0-0 (>= 2.12.0), libglu1-mesa | libglu1, libice6 (>= 1:1.0.0), libpng12-0 (>= 1.2.13-4), libsm6, libstdc++6 (>= 4.1.1-12), libx11-6, libxcursor1 (>> 1.1.2), libxext6, libxfixes3 (>= 1:4.0.1), libxft2 (>> 2.1.1), libxi6, libxinerama1, libxmu6, libxrandr2, libxrender1, zlib1g (>= 1:1.2.1)

Can anyone help me to create a proper PKGBUILD?
Thanks

Offline

#2 2009-11-22 19:09:09

clu
Member
Registered: 2008-07-05
Posts: 40

Re: PKGBUILD for Varicad

The AUR is filled with PKGBUILD examples. Here is one for freecad:

http://aur.archlinux.org/packages/freec … d/PKGBUILD

Note the depends line is just the set of package names (as they appear in arch repos). Finally this link:

http://wiki.archlinux.org/index.php/PKGBUILD

should help with other general questions about the PKGBUILD.


Kick out the jams! -- AUR

Offline

Board footer

Powered by FluxBB