[arch-dev-public] SVN repo view
belanger at ASTRO.UMontreal.CA
Wed May 7 22:52:04 EDT 2008
On Wed, 7 May 2008, Eric Belanger wrote:
> On Wed, 7 May 2008, Aaron Griffin wrote:
>> On Wed, May 7, 2008 at 11:32 AM, Aaron Griffin <aaronmgriffin at gmail.com>
>>> On Mon, May 5, 2008 at 9:22 PM, Eric Belanger
>>> <belanger at astro.umontreal.ca> wrote:
>>> > From what I understood from the man page (and have experienced) we
>>> > create a new enscript file. I guess they are hardcoded in the code or
>>> set at
>>> > build time. Anyway, we can modified the bash.st file. Here's my quick
>>> > to have colored keywords. Compare:
>>> Really? I assumed enscript.st did the matching. I am attempting to
>>> copy your bash changes into a new PKGBUILD.st file, and fiddle with
>>> We will see.
>> Hah, look what I did: http://dev.archlinux.org/~aaron/PKGBUILD.st
>> I totally guessed at the "extends" part and then just deleted. This is
>> all from your original enscript file.
>> And it's also live, so hooray.
> Congrats for figuring it out.
> BTW, the only hash sums that will be colored are md5sums and sha1sums. I
> haven't bothered adding the other ones to the list as no one uses them yet
> AFAIK. It might be a good idea to add them too.
You need to add a pipe after makedepends and noextract otherwise they
don't get colored, i.e. :
* Name: PKGBUILD
* Description: PKGBUILD syntax for Archlinux
state PKGBUILD extends bash
/* PKGBUILD Keywords */
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the arch-dev-public