You are not logged in.

#1 2014-08-14 21:59:33

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

Alternative to ABS with this little function - comments please

I've been using svn as an alternative to ABS to pull down specific packages for building.  Here is what I have in my ~/.zshrc or ~/.bashrc.

1) Is there a more efficient method of implementation?  Perhaps in the step where I validate the user provided package name?
2) Any comments are welcomed.

https://gist.github.com/graysky2/123a92d045bb02ce7634

Last edited by graysky (2014-08-14 22:02:16)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#2 2014-08-15 10:08:48

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

Re: Alternative to ABS with this little function - comments please

So it does the same as "abs core/gcc"?

Offline

#3 2014-08-15 19:01:01

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

Re: Alternative to ABS with this little function - comments please

@Allan - Didn't know abs took tokens like that.  Pretty neat.  I see two advantages of my method:
  1) Users don't need to know which repo the package is in (core, extra, or community) since the scriptlet figures it out.
  2) Users can optionally get the files associated with trunk rather than what's in the repos.

Thanks for the reply!

Last edited by graysky (2014-08-15 19:01:14)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#4 2014-08-15 19:02:52

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Alternative to ABS with this little function - comments please

Have you checked out asp?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB