You are not logged in.

#1 2009-10-19 15:37:25

SpeedVin
Member
From: Poland
Registered: 2009-04-29
Posts: 955

[Solved] Develop AUR packages on another OS.

Hello.
Is there any way to such thing?
make.conf tricks or something else maybe compress files to a special  format (I mean PKGBUILDS and install files) wink
Thanks smile

Last edited by SpeedVin (2009-10-20 19:54:17)


Shell Scripter | C/C++/Python/Java Coder | ZSH

Offline

#2 2009-10-20 16:34:07

SpeedVin
Member
From: Poland
Registered: 2009-04-29
Posts: 955

Re: [Solved] Develop AUR packages on another OS.

Can someone post your makepkg.conf?
But by OS I mean UNIX-based like *BSD smile


Shell Scripter | C/C++/Python/Java Coder | ZSH

Offline

#3 2009-10-20 16:47:39

rson451
Member
From: Annapolis, MD USA
Registered: 2007-04-15
Posts: 1,233
Website

Re: [Solved] Develop AUR packages on another OS.

I'm not sure I follow.. PKGBUILDS and .install files are just bash scripts.  There is no compression or anything done to them, all you need is a text editor.


archlinux - please read this and this — twice — then ask questions.
--
http://rsontech.net | http://github.com/rson

Offline

#4 2009-10-20 16:54:50

SpeedVin
Member
From: Poland
Registered: 2009-04-29
Posts: 955

Re: [Solved] Develop AUR packages on another OS.

rson451 wrote:

I'm not sure I follow.. PKGBUILDS and .install files are just bash scripts.  There is no compression or anything done to them, all you need is a text editor.

Yes I know that but when I have two files:
PKGBUILD
package.install
And I want to make from them a .src.tar.gz file and upload it to AUR wink
And how to do that , I tried compress this 2 files to tar.gz and changing name to package.src.tar.gz but no succes smile

Last edited by SpeedVin (2009-10-20 16:59:42)


Shell Scripter | C/C++/Python/Java Coder | ZSH

Offline

#5 2009-10-20 17:20:14

xduugu
Member
Registered: 2008-10-16
Posts: 292

Re: [Solved] Develop AUR packages on another OS.

Source files are simply compressed tarballs.

basic procedure:
mkdir pkgname
cp PPKGBUILD *.install pkgname
bsdtar czf "pkgname-pkgversion.src.tar.gz" pkgname
rm -r pkgname

But makepkg additionally does several checks, so if it's possible to run makepkg (see makepkg's header for dependencies), you should prefer that.

Offline

#6 2009-10-20 17:38:50

rson451
Member
From: Annapolis, MD USA
Registered: 2007-04-15
Posts: 1,233
Website

Re: [Solved] Develop AUR packages on another OS.

makepkg also has a --source option that does this for you.


archlinux - please read this and this — twice — then ask questions.
--
http://rsontech.net | http://github.com/rson

Offline

#7 2009-10-20 19:46:10

SpeedVin
Member
From: Poland
Registered: 2009-04-29
Posts: 955

Re: [Solved] Develop AUR packages on another OS.

rson451 wrote:

makepkg also has a --source option that does this for you.

Yes but it's not avalible on *BSD (I mean makepkg) wink

xduugu wrote:

Source files are simply compressed tarballs.

basic procedure:
mkdir pkgname
cp PPKGBUILD *.install pkgname
bsdtar czf "pkgname-pkgversion.src.tar.gz" pkgname
rm -r pkgname

But makepkg additionally does several checks, so if it's possible to run makepkg (see makepkg's header for dependencies), you should prefer that.

Thanks I will try that smile
Edit:
Working thank yoy xduugu and rson451 Arch user will always find a exit smile

Last edited by SpeedVin (2009-10-20 19:53:54)


Shell Scripter | C/C++/Python/Java Coder | ZSH

Offline

Board footer

Powered by FluxBB