You are not logged in.

#1 2004-12-10 22:06:32

darkcoder
Member
From: A bar near you
Registered: 2004-09-10
Posts: 310

[new] setiathome

While not new, the /incoming dir only have a binary package, so here I provide a PKGBUILD.

This package do not install xsetiathome (part of setiathome binaries)

#contributor Mario A. Vazquez <mario_vazq@hotmail.com>
pkgname=setiathome
pkgver=3.08
pkgrel=1
pkgdesc="Search for Extraterrestrial Intelligence (SETI) @ home command client"
url="http://setiathome.ssl.berkeley.edu/"
license=""
depends=()
makedepends=()
conflicts=()
replaces=()
backup=()
install=
source=(ftp://alien.ssl.berkeley.edu/pub/$pkgname-$pkgver.i686-pc-linux-gnu.tar)
md5sums=('01d05178bd22c36b2e411dd12f23661a')

setibin=$startdir/src/$pkgname-$pkgver.i686-pc-linux-gnu

build() {
  cd $setibin

  mkdir $startdir/pkg/opt/setiathome -p

  cp $setibin/{setiathome,README} 
           $startdir/pkg/opt/setiathome

  chmod 555 $startdir/pkg/opt/setiathome/setiathome
}

This package do not install xsetiathome binary, so no x-server dependency is needed.  For xsetiathome, just got this package and xsetiathome package.

Offline

#2 2004-12-11 00:30:59

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,378
Website

Re: [new] setiathome

if somebody asks SETI for permission, we might put this pkg to extra

you can add the xsetiathome to the pkg ... and in setiathome.install you can echo, that if someone want's to use it, he/she should instll xorg ... it does not depend on it, as it is a binary->binary packing


The impossible missions are the only ones which succeed.

Offline

#3 2004-12-15 04:04:41

darkcoder
Member
From: A bar near you
Registered: 2004-09-10
Posts: 310

Re: [new] setiathome

Well you are right in the point that this package since it's a binary one, do not depend on other packages for compiling, but xsetiathome depends on an xserver for execution:

NAME
    xsetiathome - display SETI data under X Windows

SYNOPSIS
    xsetiathome [-fullscreen]

DESCRIPTION
    xsetiathome is a graphical display for setiathome.
    To use xsetiathome, you must run setiathome with the -graphics flag. 

    A typical invocation of xsetiathome will look like this:

    > setiathome -graphics &
    > xsetiathome

    Alternatively, xsetiathome can be executed in screensaver mode,
    which requires an external application such as xautolock.

And I believe that the system should be as clean as possible.  If someone want's to use another x client, or do not desire to use a GUI interface at all, then why it should install xsetiathome in the first place.

Offline

#4 2004-12-15 04:14:49

darkcoder
Member
From: A bar near you
Registered: 2004-09-10
Posts: 310

Re: [new] setiathome

This one install the complete setiathome package (setiathome, and xsetiathome).  Posted as requested, but IMHO X binary should be placed on another package.

#contributor Mario A. Vazquez <mario_vazq@hotmail.com> 
pkgname=setiathome 
pkgver=3.08 
pkgrel=1 
pkgdesc="Search for Extraterrestrial Intelligence (SETI) @ home command client" 
url="http://setiathome.ssl.berkeley.edu/" 
license="" 
depends=() 
makedepends=() 
conflicts=() 
replaces=() 
backup=() 
install= 
source=(ftp://alien.ssl.berkeley.edu/pub/$pkgname-$pkgver.i686-pc-linux-gnu.tar) 
md5sums=('01d05178bd22c36b2e411dd12f23661a') 

setibin=$startdir/src/$pkgname-$pkgver.i686-pc-linux-gnu 

build() { 
  cd $setibin 

  mkdir $startdir/pkg/opt/setiathome -p 

  cp $setibin/{setiathome,README,xsetiathome, README.xsetiathome}  
           $startdir/pkg/opt/setiathome 

  chmod 555 $startdir/pkg/opt/setiathome/setiathome 
  chmod 555 $startdir/pkg/opt/setiathome/xsetiathome 
} 

Note: People that do not plan to use xsetiathome GUI client, can get the first package posted on this thread.

Offline

Board footer

Powered by FluxBB