You are not logged in.
I wanted to make a package of scizzor (for bmp) ( http://scizzor.sourceforge.net )
But i have kind a problem with the install process.
In my opinion the install.pl script sucks hard.. now i have a problem.
The library generated during the make process should be placed in ~/.bmp/Plugins
Now i don't now how to write this in the PKGBUILD script.
Here my PKGBUILD so far:
pkgname=scizzor
pkgver=1.3.3
pkgrel=1
pkgdesc="Beep Media Player and XMMS effect plugin for pitchspeed control."
url="http://scizzor.sourceforge.net"
depends=('bmp')
conflicts=()
source=(http://belnet.dl.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('f9c56fb0640e0e825c922472e5799be9')
build() {
cd $startdir/src/$pkgname-$pkgver
make bmp || return 1
# here the problem start
}
Perhaps someone has an idea...
I hope someone will understand my problem.. my english is not the best
greets
Offline
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr
make || return 1
make prefix=$startdir/pkg/usr install
why not try that ......
HTH
Mr Green
Offline
cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr make || return 1 make prefix=$startdir/pkg/usr install
why not try that ......
HTH
scizzor doesn't come with a configure script.
And the make install executes a perl script which installs the plugin directly.
Notze
Offline
Hi there,
now i have the PKGBUILD script written but it is very dirty.
I hate packages which don't provide a good Makefile or a configure script.
But.. doesn't matter, here is the result
PKGBUILD
pkgname=scizzor
pkgver=1.3.3
pkgrel=1
pkgdesc="Beep Media Player effect plugin for pitchspeed control."
url="http://scizzor.sourceforge.net"
depends=('bmp')
conflicts=()
source=(http://belnet.dl.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('f9c56fb0640e0e825c922472e5799be9')
build() {
cd $startdir/src/$pkgname
/usr/bin/patch -p1 < $startdir/beep-patch-1.3.3
make bmp || return 1
# because the make install of scizzor suckz hard
mkdir $startdir/pkg/usr
mkdir $startdir/pkg/usr/lib
mkdir $startdir/pkg/usr/lib/bmp
mkdir $startdir/pkg/usr/lib/bmp/Effect
cp scizzor-bmp.so $startdir/pkg`beep-config --plugin-dir`/Effect/
}
I have also put the package on ftp.archlinux.org/incoming
mfg[/b]
Offline
:oops: sorry ...
too lazy to load it up ....
Welcome to Arch
Mr Green
Offline
:oops: sorry ...
too lazy to load it up ....
![]()
Welcome to Arch
hehe no problem
and thank you
Notze
Offline
You should be able to replace the mkdirs and cp with:
install -D scizzor-bmp.so $startdir/pkg`beep-config --plugin-dir`/Effect/
See the install manpage. See "mkdir -p" too.
Offline
You should be able to replace the mkdirs and cp with:
install -D scizzor-bmp.so $startdir/pkg`beep-config --plugin-dir`/Effect/
See the install manpage. See "mkdir -p" too.
Hi,
thank you
I am totally new to this package creating business :-)
Here the updated PKGBUILD script...
btw: Can i somehow change the package i had put on ftp.archlinux.org/incoming?
PKGBUILD
# Contributor: Daniel Martin <notze@gmx.net>
pkgname=scizzor
pkgver=1.3.3
pkgrel=1
pkgdesc="Beep Media Player effect plugin for pitchspeed control."
url="http://scizzor.sourceforge.net"
depends=('bmp')
conflicts=()
source=(http://belnet.dl.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('f9c56fb0640e0e825c922472e5799be9')
build() {
cd $startdir/src/$pkgname
/usr/bin/patch -p1 < $startdir/beep-patch-1.3.3
make bmp || return 1
#### thanks to kapiche who helped me with the next part
install -D scizzor-bmp.so $startdir/pkg`beep-config --plugin-dir`/Effect
}
Offline