You are not logged in.

#1 2012-02-17 21:41:46

cjpembo
Member
Registered: 2008-08-06
Posts: 105

[SOLVED] Looking for an example PKGBUILD to handle rpm packages

Long story short; I'm trying to install OpenModelica.  First attempt was from sources.  It was a painful up-hill battle that I was not going to win.  But, the OpenModelica project provides nightly debs and rpms (rpms made from the debs).  So not to be defeated, I'd like to make an arch package from these binaries.  A few questions:

1.  Should I base the arch package off the debs or the rpms?  I've installed single rpms with rpm2targz before, but never 15 rpms totalling 52Mb.
2.  Could someone recommend an arch package that currently uses rpms; I could use it as a guide in creating mine.
3.  Am I right in assuming that an arch package made from rpms will behave nicely with regards to removing the package later if needed?

Thanks.  If you're into mechanics/circuits/thermodyanmics/physics/etc check it out:

www.openmodelica.org

Last edited by cjpembo (2012-02-22 22:14:09)

Offline

#2 2012-02-17 23:06:33

allen875
Member
From: Winchester, VA
Registered: 2011-09-02
Posts: 46
Website

Re: [SOLVED] Looking for an example PKGBUILD to handle rpm packages

look at jupiter's PKGBUILD

Offline

#3 2012-02-17 23:15:26

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Looking for an example PKGBUILD to handle rpm packages

Offline

#4 2012-02-22 22:12:46

cjpembo
Member
Registered: 2008-08-06
Posts: 105

Re: [SOLVED] Looking for an example PKGBUILD to handle rpm packages

I saw that post too.  To update, I've created a PKGBUILD that installs openmodelica from svn sources instead.  I'm going to mark this as solved.  I did actually try installing openmodelica from 15 rpms with a PKGBUILD I wrote.  The package built fine, installed fine; but the resulting install relied too heavily on ubuntu and wouldn't work here.  I'll post the finished PKGBUILD for openmodelica for review in another post.

Offline

Board footer

Powered by FluxBB