You are not logged in.

#1 2008-01-06 01:40:09

gazj
Member
From: /home/gazj -> /uk/cambs
Registered: 2007-02-09
Posts: 681
Website

My little absbuild

I have used Arch for what a year 18 months, and for the first time today I used abs.  I always knew it was there, but today was the first time I needed it.  Congratulations on making it sooo simple.  Thought I would try to make it more simple with my very limited bash knowledge.

I am sure this has been done much better 100 times before, hopefully it will help someone.  Just add it to your .bashrc then use absbuild package to begin.

Please please don't laugh at my primitive cave man attempt wink  Thanks

#cp abs pkgbuild and cd to it at ~
absbuild ()
{
export ABSPATH=`find /var/abs -type d -name $1`
mkdir ~/.abs/$1
cp -Rv $ABSPATH/* ~/.abs/$1
cd ~/.abs/$1
vi PKGBUILD
makepkg
pacman -U $1*i686.pkg.tar.gz
}

Offline

Board footer

Powered by FluxBB