You are not logged in.

#1 2009-10-16 09:48:45

Gen2ly
Member
From: Sevierville, TN
Registered: 2009-03-06
Posts: 1,529
Website

[Solved] vim package for PKGBUILDS?

I'm guess I'm kinda wondering if there is a normal method people usually develop PKGBUILDs on Arch.  When I used Gentoo their was a package that added support to vim for creating ebuilds that had a special syntax-highlighting for making ebuilds and (if I remember correctly) created a template .ebuild when creating a new ebuild.  If seen some packages in AUR that have a vim notation at the bottom (i.e. looks like a vim listing of the default settings used - i.e. tabs...).  I've come across the pkgbuild-mode in AUR for emacs and was wondering if there was something like this for vim? ??

Edit: Ah the line I always see is:

# vim:set ts=2 sw=2 et:

Last edited by Gen2ly (2009-10-16 16:47:33)


Setting Up a Scripting Environment | Proud donor to wikipedia - link

Offline

#2 2009-10-16 09:51:41

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,487
Website

Re: [Solved] vim package for PKGBUILDS?

The is PKGBUILD syntax highlighting for vim in the "pacman-contrib" package.

Offline

#3 2009-10-16 10:50:36

Gen2ly
Member
From: Sevierville, TN
Registered: 2009-03-06
Posts: 1,529
Website

Re: [Solved] vim package for PKGBUILDS?

huh, these are some good tools.  bacman and pactree are actually particularly good things as I've been wondering lately how to go about them.  Ah, and yes, the syntax-highlighting is much appreciated.  Would it be too much do you think to get a skeleton file in (template) as described in this-post?  I also noticed a plugin can be used link.  Or am I asking too much big_smile.


Setting Up a Scripting Environment | Proud donor to wikipedia - link

Offline

#4 2009-10-16 11:12:36

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,487
Website

Re: [Solved] vim package for PKGBUILDS?

I someone creates one and sends it to the pacman-dev list, it will probably be included in contrib...  Otherwise you can start with the prototype in /usr/share/pacman

Offline

#5 2009-10-16 16:47:12

Gen2ly
Member
From: Sevierville, TN
Registered: 2009-03-06
Posts: 1,529
Website

Re: [Solved] vim package for PKGBUILDS?

I might be able to get a chance to do it myself in the next week, not sure.

Thanks for the template btw, didn't know that existed.  Now I know where the '# vim:set ts=2 sw=2 et:' comes from. smile


Setting Up a Scripting Environment | Proud donor to wikipedia - link

Offline

Board footer

Powered by FluxBB