You are not logged in.

#1 2011-01-01 13:18:03

nTia89
Banned
From: varese, italy
Registered: 2008-12-22
Posts: 1,230

[solved] download PKGBUILD and related from archlinux.org

hi to all

until some days ago  i could download a package.tar.gz containing needed files for compiling through "makepkg"

now it doesn't  exist but i see a web-git page

how i can solve ?

thanks

Last edited by nTia89 (2011-01-01 20:55:58)


+pc: custom | AMD Opteron 175 | nForce4 Ultra | 2GB ram DDR400 | nVidia 9800GT 1GB | ArchLinux x86_64 w/ openbox
+laptop: Apple | MacBook (2,1) | 2GB ram | Mac OS X 10.4 -> DIED
+ultrabook: Dell | XPS 13 (9343) | 8GB ram | 256GB ssd | FullHD display | Windows 8.1 64bit ArchLinux x86_64 w/ Gnome

Offline

#2 2011-01-01 13:21:50

Cyrusm
Member
From: Bozeman, MT
Registered: 2007-11-15
Posts: 1,053

Re: [solved] download PKGBUILD and related from archlinux.org

Can you provide links? what package are you trying to install?


Hofstadter's Law:
           It always takes longer than you expect, even when you take into account Hofstadter's Law.

Offline

#3 2011-01-01 13:22:33

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

Re: [solved] download PKGBUILD and related from archlinux.org

I'm not sure exactly what you are talking about, but doesn't ABS do the job?

Offline

#4 2011-01-01 14:18:08

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: [solved] download PKGBUILD and related from archlinux.org

ABSROOT="." abs extra/python

seems to work just fine for me atleast.


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#5 2011-01-01 14:38:11

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [solved] download PKGBUILD and related from archlinux.org

Offline

#6 2011-01-01 14:41:14

nTia89
Banned
From: varese, italy
Registered: 2008-12-22
Posts: 1,230

Re: [solved] download PKGBUILD and related from archlinux.org


+pc: custom | AMD Opteron 175 | nForce4 Ultra | 2GB ram DDR400 | nVidia 9800GT 1GB | ArchLinux x86_64 w/ openbox
+laptop: Apple | MacBook (2,1) | 2GB ram | Mac OS X 10.4 -> DIED
+ultrabook: Dell | XPS 13 (9343) | 8GB ram | 256GB ssd | FullHD display | Windows 8.1 64bit ArchLinux x86_64 w/ Gnome

Offline

#7 2011-01-01 14:42:55

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [solved] download PKGBUILD and related from archlinux.org

I think ABS is what you want. The web interface let's you pick and older PKGBUILD though.

Offline

#8 2011-01-01 14:46:14

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: [solved] download PKGBUILD and related from archlinux.org

It's getting annoying, but again: ABS is exactly there for what you want.

There's been topics around like these before, the answer is always invariably: ABS. It's there, use it.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#9 2011-01-01 14:46:54

nTia89
Banned
From: varese, italy
Registered: 2008-12-22
Posts: 1,230

Re: [solved] download PKGBUILD and related from archlinux.org

Mr.Elendig wrote:
ABSROOT="." abs extra/python

seems to work just fine for me atleast.

this is what i need !!!!

thanks very much

PS: before i didn't use ABS because it created /var/abs dir, so i downloaded directly from repo ....

PS2: sorry for my bad english if you can't understand me very well


+pc: custom | AMD Opteron 175 | nForce4 Ultra | 2GB ram DDR400 | nVidia 9800GT 1GB | ArchLinux x86_64 w/ openbox
+laptop: Apple | MacBook (2,1) | 2GB ram | Mac OS X 10.4 -> DIED
+ultrabook: Dell | XPS 13 (9343) | 8GB ram | 256GB ssd | FullHD display | Windows 8.1 64bit ArchLinux x86_64 w/ Gnome

Offline

#10 2011-01-01 15:50:46

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: [solved] download PKGBUILD and related from archlinux.org

Alternatively, if what you want hasn't hit ABS yet:

#!/bin/bash

#
# fetch the latest PKGBUILD from Arch's SVN
# optdep: expac
#

shopt -s extglob

svnrepo="svn://svn.archlinux.org"

getrepo() {
  if type -P expac &>/dev/null; then
    expac -S '%r' $1
  else
    pacman -Si $1 2>/dev/null | sed -n '/^Repo/{s/.*: \(.*\)/\1/p;q}'
  fi
}

[[ -z $1 ]] && { printf "Usage: %s targets...\n" "${0##*/}"; exit 1; }

for pkg; do
  # read only the first, repo is only of mild importance
  read repo _ < <(getrepo $pkg)
  [[ -z $repo ]] && { printf "error: package \`%s' not found" "$pkg"; continue; }

  case $repo in
    @(community|multilib)*) repo=community ;;
    *) repo=packages ;;
  esac

  [[ -d $pkg ]] && { printf "error: directory \`%s' already exists" "$pkg"; continue; }

  svn export "$svnrepo/$repo/$pkg/trunk" $pkg >/dev/null &&
    printf ":: checked out %s\n" "$pkg" ||
    printf "error: failed to get package \`%s'\n" "$pkg"

done

Offline

#11 2011-01-01 20:52:09

nTia89
Banned
From: varese, italy
Registered: 2008-12-22
Posts: 1,230

Re: [solved] download PKGBUILD and related from archlinux.org

falconindy wrote:

Alternatively, if what you want hasn't hit ABS yet:

#!/bin/bash

#
# fetch the latest PKGBUILD from Arch's SVN
# optdep: expac
#

shopt -s extglob

svnrepo="svn://svn.archlinux.org"

getrepo() {
  if type -P expac &>/dev/null; then
    expac -S '%r' $1
  else
    pacman -Si $1 2>/dev/null | sed -n '/^Repo/{s/.*: \(.*\)/\1/p;q}'
  fi
}

[[ -z $1 ]] && { printf "Usage: %s targets...\n" "${0##*/}"; exit 1; }

for pkg; do
  # read only the first, repo is only of mild importance
  read repo _ < <(getrepo $pkg)
  [[ -z $repo ]] && { printf "error: package \`%s' not found" "$pkg"; continue; }

  case $repo in
    @(community|multilib)*) repo=community ;;
    *) repo=packages ;;
  esac

  [[ -d $pkg ]] && { printf "error: directory \`%s' already exists" "$pkg"; continue; }

  svn export "$svnrepo/$repo/$pkg/trunk" $pkg >/dev/null &&
    printf ":: checked out %s\n" "$pkg" ||
    printf "error: failed to get package \`%s'\n" "$pkg"

done

thanks for this extra

Last edited by nTia89 (2011-01-01 20:52:58)


+pc: custom | AMD Opteron 175 | nForce4 Ultra | 2GB ram DDR400 | nVidia 9800GT 1GB | ArchLinux x86_64 w/ openbox
+laptop: Apple | MacBook (2,1) | 2GB ram | Mac OS X 10.4 -> DIED
+ultrabook: Dell | XPS 13 (9343) | 8GB ram | 256GB ssd | FullHD display | Windows 8.1 64bit ArchLinux x86_64 w/ Gnome

Offline

Board footer

Powered by FluxBB