You are not logged in.

#1 2009-08-01 22:58:33

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,729
Website

help w/ a PKGBUILD

I'd like to make a PKGBUILD that will extract some ttf files from a package and copy them into the file system.  The main instructions are listed at this webpage.  Way back in 2005, dtw put a nice PKGBUILD together that does this which you can find at this url.  I'd like to adapt it to work w/ the instructions on that webpage.The PKGBUILD needs to:

1) Download the self extracting archive
2) Process it extracting the ttf files out
3) Copy them

I'm unsure how to make the source be a non tar file that requires some processing.  Help smile

Offline

#2 2009-08-01 23:01:18

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,360

Re: help w/ a PKGBUILD

I believe you just need to add the download location of the file to the source line, then run your extracting command in build(), targetted to $pkgdir.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#3 2009-08-01 23:29:30

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,729
Website

Re: help w/ a PKGBUILD

Man, what a let down.  Someone beat me to the punch:

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

Offline

Board footer

Powered by FluxBB