You are not logged in.

#1 2006-09-14 17:45:48

jotapesan
Member
From: chile
Registered: 2006-05-30
Posts: 27
Website

[solved] kiba-dock. questions

Well, here is my PKGBUILD. .. and my troubles

The make install script refers to /usr/bin/install. By default arch doen't include this. so i created a symlink to /bin/install
i don't know how resolve this trouble.

The other trouble is about making the directories. I dont know if mkdir is on the arch PKGBUILD's standards.

My last trouble is about the dependencies. it works for me, im using kde with compiz. But i dont know how obtain this dependencies. i'm only identified python and gconf.

Please, help me

PKGBUILD:

# Maintainer: jotapesan <lord_jotape>

pkgname=kiba-dock-cvs
pkgver=20060914
pkgrel=1
pkgdesc="kiba-dock is a dock with phisics. The author describes kibadock like silly dock demo of akamaru."
url="http://people.freedesktop.org/~krh/akamaru.git/"
license=
depends=(python)
replaces=()
conflicts=()
makedepends=('cvs')
options=('NOSTRIP')
install=$pkgname.install
source=()
md5sums=()

_cvsroot=":pserver:anonymous@metascape.afraid.org:/cvsroot"
_cvsmod="kiba-dock"

build() {
  cd $startdir/src
  msg "Connecting to metascape.afraid.org CVS server...."
  cvs -z3 -d $_cvsroot co -D $pkgver -f $_cvsmod
  cd $_cvsmod
   ./populate-dock.sh
   msg "CVS checkout done or server timeout"
   msg "Starting make..."
   cp -r ../$_cvsmod ../$_cvsmod-build
   cd ../$_cvsmod-build
   make || return 1
   mkdir -p $startdir/pkg/usr/bin
   mkdir -p $startdir/pkg/etc/gconf/schemas
   mkdir -p $startdir/pkg/usr/lib/python2.4/site-packages
   make DESTDIR=$startdir/pkg install || return 1

   rm -r $startdir/src/$_cvsmod-build
}

Offline

#2 2006-09-14 18:31:14

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,038

Re: [solved] kiba-dock. questions

/usr/install/bin : the quick & dirty solution would be to let the pkgbuild make the symlink.
However, i'm almost certain there is a better way.

mkdir -p : no problem , it's used in many packages.

dependencies : try namcap (it's in extra)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#3 2006-09-14 18:54:48

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [solved] kiba-dock. questions

Symlink? Uuuuggghhhh. Quick and dirty, sure, but unnecessary, and definitely not standards-compliant.

sed is the answer:

 cd ../$_cvsmod-build
sed -i 's|/usr/bin/install|/bin/install|' Makefile   <== New Line
make || return 1

Offline

#4 2006-09-15 02:05:52

jotapesan
Member
From: chile
Registered: 2006-05-30
Posts: 27
Website

Re: [solved] kiba-dock. questions

thanks. it works

now il try to upload the PKGBUILD to AUR

Offline

Board footer

Powered by FluxBB