You are not logged in.

#1 2006-04-16 16:12:32

enderst
Member
Registered: 2004-06-28
Posts: 69

PKGBUILD

would be nice to have PKGBUILDs included in the pkgs. would be easier to update some software like lm-sensors which is out of date and wouldn't require much effort to update if the PKGBUILD was included.
the reason i'm picking on lm-sensors is i need the up to date version for my motherboard and there isn't a pkg in testing or aur.

Offline

#2 2006-04-16 16:23:27

iBertus
Member
From: Greenville, NC
Registered: 2004-11-04
Posts: 2,228

Re: PKGBUILD

download the pkgbuild from abs or cvs.archlinux.org and rebuild it to your needs.

PKGBUILD

Offline

#3 2006-04-16 17:05:00

enderst
Member
Registered: 2004-06-28
Posts: 69

Re: PKGBUILD

i knew there had to be a way. thx

Offline

#4 2006-04-16 17:13:15

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: PKGBUILD

install cvsup and run abs as root. That will put all the PKBUILDS from every repo as specified in your /etc/abs.conf in /var/abs.

Offline

#5 2006-04-22 03:02:24

soloport
Member
Registered: 2005-03-01
Posts: 442

Re: PKGBUILD

What's the best way to pull *just* one package, instead of the whole ABS world in 'arch' (or 'extra', etc.)?

Offline

#6 2006-04-22 03:04:25

elasticdog
Member
From: Washington, USA
Registered: 2005-05-02
Posts: 995
Website

Re: PKGBUILD

Maybe just use the online package search and then click on View CVS Entries to grab the single PKGBUILD?

Offline

#7 2006-04-22 03:27:47

soloport
Member
Registered: 2005-03-01
Posts: 442

Re: PKGBUILD

elasticdog wrote:

Maybe just use the online package search and then click on View CVS Entries to grab the single PKGBUILD?

[root@localhost ~]# export CVSROOT=:pserver:anonymous@cvs.archlinux.org:/home/cvs-arch
[root@localhost ~]# touch ~/.cvspass
[root@localhost ~]# cvs login
  Logging in to :pserver:anonymous@cvs.archlinux.org:2401/home/cvs-arch
  CVS password: <anonymous>
[root@localhost ~]# cvs -z3 co arch/build/kernels/kernel26
  cvs checkout: Updating arch/build/kernels/kernel26
  U arch/build/kernels/kernel26/PKGBUILD
  U arch/build/kernels/kernel26/acpi-dsdt-initrd-v0.8.1-2.6.16.patch
  U arch/build/kernels/kernel26/alsa-2.6.17.patch.bz2
  U arch/build/kernels/kernel26/config
  U arch/build/kernels/kernel26/cpufreq-2.6.17.patch.bz2
  U arch/build/kernels/kernel26/drm-2.6.17.patch.bz2
  U arch/build/kernels/kernel26/kernel26.install
  U arch/build/kernels/kernel26/logo_linux_clut224.ppm
  U arch/build/kernels/kernel26/powernow-k7.patch
  U arch/build/kernels/kernel26/sata-enable-atapi-by-default.patch
  U arch/build/kernels/kernel26/tty-flip-2.6.17.patch
  U arch/build/kernels/kernel26/wlan-2.6.17.patch.bz2
[root@localhost ~]# ls -l
  total 4
  drwxr-xr-x  4 root root 4096 2006-04-21 21:18 arch
[root@localhost ~]# ls -l arch/build/kernels/kernel26/
  total 464
  drwxr-xr-x  2 root root   4096 2006-04-21 21:18 CVS
  -rw-r--r--  1 root root   5712 2006-04-19 03:24 PKGBUILD
  -rw-r--r--  1 root root  11280 2006-04-06 06:43 acpi-dsdt-initrd-v0.8.1-2.6.16.patch
  -rw-r--r--  1 root root 146421 2006-04-19 03:24 alsa-2.6.17.patch.bz2
  -rw-r--r--  1 root root  58518 2006-04-08 02:03 config
  -rw-r--r--  1 root root  22731 2006-04-19 03:24 cpufreq-2.6.17.patch.bz2
  -rw-r--r--  1 root root  13309 2006-04-19 03:24 drm-2.6.17.patch.bz2
  -rw-r--r--  1 root root   2511 2006-03-20 09:26 kernel26.install
  -rw-r--r--  1 root root 125590 2004-08-22 18:08 logo_linux_clut224.ppm
  -rw-r--r--  1 root root    906 2006-02-01 03:24 powernow-k7.patch
  -rw-r--r--  1 root root    479 2006-01-29 05:58 sata-enable-atapi-by-default.patch
  -rw-r--r--  1 root root    297 2006-04-02 01:50 tty-flip-2.6.17.patch
  -rw-r--r--  1 root root  41668 2006-04-08 02:03 wlan-2.6.17.patch.bz2

Is close enough :-D

Thanks!

[edit] s/b

cvs -z3 co -d kernel26 arch/build/kernels/kernel26

For brevity's sake  roll

Offline

#8 2006-04-22 05:01:10

elasticdog
Member
From: Washington, USA
Registered: 2005-05-02
Posts: 995
Website

Re: PKGBUILD

See...easy!  big_smile

Offline

#9 2006-04-22 21:06:03

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: PKGBUILD

a follow-up revised script from soloport can be found here:
http://bbs.archlinux.org/viewtopic.php?t=20881

Offline

Board footer

Powered by FluxBB