You are not logged in.
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
/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
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
thanks. it works
now il try to upload the PKGBUILD to AUR
Offline